aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/watch/gisstv.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2011-11-09 23:26:27 +0100
committerSem <sembrestels@riseup.net>2011-11-09 23:26:27 +0100
commit838229d4ef15607ae60c8fd3e3c37cd4849b376f (patch)
treef0dfdd64f4a3bb5f22072660fda723526f1aa602 /views/default/videolist/watch/gisstv.php
parentf2280654f8aaa33964e62c27a9cab6c96372ba57 (diff)
downloadelgg-838229d4ef15607ae60c8fd3e3c37cd4849b376f.tar.gz
elgg-838229d4ef15607ae60c8fd3e3c37cd4849b376f.tar.bz2
Metacafe and Giss.tv support.
Diffstat (limited to 'views/default/videolist/watch/gisstv.php')
-rw-r--r--views/default/videolist/watch/gisstv.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/views/default/videolist/watch/gisstv.php b/views/default/videolist/watch/gisstv.php
new file mode 100644
index 000000000..6fdecd1ce
--- /dev/null
+++ b/views/default/videolist/watch/gisstv.php
@@ -0,0 +1,9 @@
+<?php
+
+$video_id = $vars['entity']->video_id;
+$width = $vars['width'];
+$height = $vars['height'];
+
+echo "<video width=\"$width\" height=\"$height\" controls=\"\" autoplay=\"\" tabindex=\"0\">
+ <source type=\"video/ogg\" src=\"http://giss.tv/dmmdb//contents/$video_id\"></source>
+</video>";