diff options
author | Sem <sembrestels@riseup.net> | 2011-11-06 23:28:09 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2011-11-06 23:28:09 +0100 |
commit | 0adeee109cf8d8517f3a890105f5b46459495204 (patch) | |
tree | 6e0cc8ea0bec3bb007b782db17712d46af1e1572 /views/default/videolist/watch/metacafe.php | |
parent | 84de3a9ab57277bbaedb30c5e24070f8a5ad4431 (diff) | |
download | elgg-0adeee109cf8d8517f3a890105f5b46459495204.tar.gz elgg-0adeee109cf8d8517f3a890105f5b46459495204.tar.bz2 |
Watch working for Vimeo and Youtube.
Diffstat (limited to 'views/default/videolist/watch/metacafe.php')
-rw-r--r-- | views/default/videolist/watch/metacafe.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/videolist/watch/metacafe.php b/views/default/videolist/watch/metacafe.php new file mode 100644 index 000000000..cfa5e02a4 --- /dev/null +++ b/views/default/videolist/watch/metacafe.php @@ -0,0 +1,15 @@ +<?php + +/* TODO +$video_id = $vars['video_id']; +$width = $vars['width']; +$height = $vars['height']; + +$path = explode("/", $videos->thumbnail); +$path = array_reverse($path); +$thumbnailArray = explode(".", $path[0]); +$video_id = $video_id."/".$thumbnailArray[0].".swf"; + +echo "<br /> +<embed src=\"http://www.metacafe.com/fplayer/".$video_id."\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowscriptaccess=\"always\" width=\"$width\" height=\"$height\" wmode=\"transparent\" name=\"Metacafe_".$video_id."\"></embed>"; +*/ |