diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/videolist.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/videolist.php b/lib/videolist.php index a71315027..18745dfd1 100644 --- a/lib/videolist.php +++ b/lib/videolist.php @@ -89,6 +89,7 @@ function videolist_get_data_youtube($videoid){ 'title' => sanitize_string($xml->title), 'description' => sanitize_string($xml->content), 'icon' => "http://img.youtube.com/vi/$videoid/default.jpg", + 'videotype' => 'youtube', ); } @@ -103,6 +104,7 @@ function videolist_get_data_vimeo($videoid){ 'title' => sanitize_string($video->title), 'description' => sanitize_string($video->description), 'icon' => sanitize_string($video->thumbnail_medium), + 'videotype' => 'vimeo', ); } @@ -119,5 +121,6 @@ function videolist_get_data_metacafe($videoid){ //FIXME 'title' => $channel->title, 'description' => $channel->description, 'icon' => $matches[1], + 'videotype' => 'metacafe', ); } |