From 2d806df7a3ffe4ec57781ada8829b3b86bd91632 Mon Sep 17 00:00:00 2001 From: Sem Date: Tue, 8 Nov 2011 21:44:25 +0100 Subject: Video icons. --- lib/videolist.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/videolist.php') diff --git a/lib/videolist.php b/lib/videolist.php index 03b6e2760..9e29f3061 100644 --- a/lib/videolist.php +++ b/lib/videolist.php @@ -88,7 +88,7 @@ function videolist_get_data_youtube($video_id){ return array( 'title' => sanitize_string($xml->title), 'description' => sanitize_string($xml->content), - 'icon' => "http://img.youtube.com/vi/$video_id/default.jpg", + 'thumbnail' => "http://img.youtube.com/vi/$video_id/default.jpg", 'video_id' => $video_id, 'videotype' => 'youtube', ); @@ -104,7 +104,7 @@ function videolist_get_data_vimeo($video_id){ return array( 'title' => sanitize_string($video->title), 'description' => sanitize_string($video->description), - 'icon' => sanitize_string($video->thumbnail_medium), + 'thumbnail' => sanitize_string($video->thumbnail_medium), 'video_id' => $video_id, 'videotype' => 'vimeo', ); @@ -122,7 +122,7 @@ function videolist_get_data_metacafe($video_id){ //FIXME return array( 'title' => $channel->title, 'description' => $channel->description, - 'icon' => $matches[1], + 'thumbnail' => $matches[1], 'video_id' => $video_id, 'videotype' => 'metacafe', ); -- cgit v1.2.3