aboutsummaryrefslogtreecommitdiff
path: root/lib/Videolist/Platform/Youtube.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Videolist/Platform/Youtube.php')
-rw-r--r--lib/Videolist/Platform/Youtube.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Videolist/Platform/Youtube.php b/lib/Videolist/Platform/Youtube.php
index d5a388356..31a4bc950 100644
--- a/lib/Videolist/Platform/Youtube.php
+++ b/lib/Videolist/Platform/Youtube.php
@@ -37,13 +37,13 @@ class Videolist_Platform_Youtube implements Videolist_PlatformInterface
{
$video_id = $parsed['video_id'];
- $buffer = file_get_contents('http://gdata.youtube.com/feeds/api/videos/'.$video_id);
+ $buffer = file_get_contents('https://gdata.youtube.com/feeds/api/videos/'.$video_id);
$xml = new SimpleXMLElement($buffer);
return array(
'title' => $xml->title,
'description' => strip_tags($xml->content),
- 'thumbnail' => "http://img.youtube.com/vi/$video_id/default.jpg",
+ 'thumbnail' => "https://img.youtube.com/vi/$video_id/default.jpg",
);
}
}