diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-09 04:48:16 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-07-09 04:48:16 +0000 |
commit | 6005959c37acf42042be7281521d1f37ff56e677 (patch) | |
tree | 3547fe1270645135e16f3b5bc5b0fefc1c4939d4 /mod/ecml/views/default/ecml/keywords | |
parent | 1f1b9957ec0527da781611fdf312b0475bb90aa4 (diff) | |
download | elgg-6005959c37acf42042be7281521d1f37ff56e677.tar.gz elgg-6005959c37acf42042be7281521d1f37ff56e677.tar.bz2 |
Added ecml help for web service embeds.
git-svn-id: http://code.elgg.org/elgg/trunk@6668 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml/views/default/ecml/keywords')
-rw-r--r-- | mod/ecml/views/default/ecml/keywords/googlemaps.php | 2 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/keywords/livevideo.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mod/ecml/views/default/ecml/keywords/googlemaps.php b/mod/ecml/views/default/ecml/keywords/googlemaps.php index 4f31a4531..7e6608592 100644 --- a/mod/ecml/views/default/ecml/keywords/googlemaps.php +++ b/mod/ecml/views/default/ecml/keywords/googlemaps.php @@ -14,6 +14,8 @@ $width = (isset($vars['width'])) ? $vars['width'] : 425; $height = (isset($vars['height'])) ? $vars['height'] : 350; if ($src) { + $src = html_entity_decode($src); + $embed_src = elgg_http_add_url_query_elements($src, array('output' => 'embed')); $link_href = elgg_http_add_url_query_elements($src, array('source' => 'embed')); diff --git a/mod/ecml/views/default/ecml/keywords/livevideo.php b/mod/ecml/views/default/ecml/keywords/livevideo.php index b067b1ab6..47e132aac 100644 --- a/mod/ecml/views/default/ecml/keywords/livevideo.php +++ b/mod/ecml/views/default/ecml/keywords/livevideo.php @@ -16,7 +16,8 @@ $height = (isset($vars['height'])) ? $vars['height'] : 369; if ($src) { $parts = explode('/', $src); - $vid = $parts[1]; + $vid = $parts[0]; + // it automatically autostarts, but not passing it causes control issues $url = "http://www.livevideo.com/flvplayer/embed/$vid&autoStart=1"; |