From f2280654f8aaa33964e62c27a9cab6c96372ba57 Mon Sep 17 00:00:00 2001 From: Sem Date: Wed, 9 Nov 2011 20:24:56 +0100 Subject: No regexp when parsing urls. Blip.tv support added. Style added. Fixed edit action. --- views/default/object/videolist_item.php | 5 +++-- views/default/videolist/css.php | 5 +++++ views/default/videolist/watch/bliptv.php | 7 +++++++ views/default/videolist/watch/vimeo.php | 4 ++-- views/default/videolist/watch/youtube.php | 2 +- 5 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 views/default/videolist/watch/bliptv.php (limited to 'views') diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php index bda333a2d..6ed284a43 100644 --- a/views/default/object/videolist_item.php +++ b/views/default/object/videolist_item.php @@ -60,11 +60,12 @@ if (elgg_in_context('widgets')) { if ($full && !elgg_in_context('gallery')) { - $content= elgg_view("videolist/watch/{$entity->videotype}", array( - 'video_id' => $entity->video_id, + $content = elgg_view("videolist/watch/{$entity->videotype}", array( + 'entity' => $entity, 'width' => 600, 'height' => 400, )); + $content = "
$content
"; $params = array( 'entity' => $entity, diff --git a/views/default/videolist/css.php b/views/default/videolist/css.php index 93069181a..6f2bf397d 100644 --- a/views/default/videolist/css.php +++ b/views/default/videolist/css.php @@ -10,6 +10,11 @@ */ ?> +.videolist-watch { + margin-top: 40px; + margin-left: 20px; +} + .videolist_error{ color:red; font-weight:bold; diff --git a/views/default/videolist/watch/bliptv.php b/views/default/videolist/watch/bliptv.php new file mode 100644 index 000000000..b7f72dea6 --- /dev/null +++ b/views/default/videolist/watch/bliptv.php @@ -0,0 +1,7 @@ +embedurl; +$width = $vars['width']; +$height = $vars['height']; + +echo ""; diff --git a/views/default/videolist/watch/vimeo.php b/views/default/videolist/watch/vimeo.php index caf34c1f4..97b5e8d88 100644 --- a/views/default/videolist/watch/vimeo.php +++ b/views/default/videolist/watch/vimeo.php @@ -1,7 +1,7 @@ video_id; $width = $vars['width']; $height = $vars['height']; -echo ""; +echo ""; diff --git a/views/default/videolist/watch/youtube.php b/views/default/videolist/watch/youtube.php index 4b62aabbc..e0b2ece06 100644 --- a/views/default/videolist/watch/youtube.php +++ b/views/default/videolist/watch/youtube.php @@ -1,6 +1,6 @@ video_id; $width = $vars['width']; $height = $vars['height']; -- cgit v1.2.3