diff options
author | Sem <sembrestels@riseup.net> | 2013-11-07 04:50:54 +0100 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2013-11-07 04:50:54 +0100 |
commit | b02119c597a1d806e7910e63ba20139234249fa0 (patch) | |
tree | 4b381ec2c56ac64d0e777afdf1b8f0ed190f6f10 /lib | |
parent | 24e097f126aee59206c7f44e2b37b915d85dfd23 (diff) | |
download | elgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.gz elgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.bz2 |
Using https instead http.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Videolist/Platform/Bliptv.php | 2 | ||||
-rw-r--r-- | lib/Videolist/Platform/Metacafe.php | 2 | ||||
-rw-r--r-- | lib/Videolist/Platform/Vimeo.php | 2 | ||||
-rw-r--r-- | lib/Videolist/Platform/Youtube.php | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/Videolist/Platform/Bliptv.php b/lib/Videolist/Platform/Bliptv.php index aa53032f9..62cefbd39 100644 --- a/lib/Videolist/Platform/Bliptv.php +++ b/lib/Videolist/Platform/Bliptv.php @@ -25,7 +25,7 @@ class Videolist_Platform_Bliptv implements Videolist_PlatformInterface { $video_id = $parsed['video_id']; - $buffer = file_get_contents('http://blip.tv'.$video_id.'?skin=rss'); + $buffer = file_get_contents('https://blip.tv'.$video_id.'?skin=rss'); $xml = new SimpleXMLElement($buffer); return array( diff --git a/lib/Videolist/Platform/Metacafe.php b/lib/Videolist/Platform/Metacafe.php index 7da6d1647..74a346b34 100644 --- a/lib/Videolist/Platform/Metacafe.php +++ b/lib/Videolist/Platform/Metacafe.php @@ -25,7 +25,7 @@ class Videolist_Platform_Metacafe implements Videolist_PlatformInterface { $video_id = $parsed['video_id']; - $buffer = file_get_contents("http://www.metacafe.com/api/item/$video_id"); + $buffer = file_get_contents("https://www.metacafe.com/api/item/$video_id"); $xml = new SimpleXMLElement($buffer); return array( diff --git a/lib/Videolist/Platform/Vimeo.php b/lib/Videolist/Platform/Vimeo.php index a4a1f275c..6930cdb2d 100644 --- a/lib/Videolist/Platform/Vimeo.php +++ b/lib/Videolist/Platform/Vimeo.php @@ -25,7 +25,7 @@ class Videolist_Platform_Vimeo implements Videolist_PlatformInterface { $video_id = $parsed['video_id']; - $buffer = file_get_contents("http://vimeo.com/api/v2/video/$video_id.xml"); + $buffer = file_get_contents("https://vimeo.com/api/v2/video/$video_id.xml"); $xml = new SimpleXMLElement($buffer); $videos = $xml->children(); 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", ); } } |