aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2013-11-07 04:50:54 +0100
committerSem <sembrestels@riseup.net>2013-11-07 04:50:54 +0100
commitb02119c597a1d806e7910e63ba20139234249fa0 (patch)
tree4b381ec2c56ac64d0e777afdf1b8f0ed190f6f10 /views/default/videolist
parent24e097f126aee59206c7f44e2b37b915d85dfd23 (diff)
downloadelgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.gz
elgg-b02119c597a1d806e7910e63ba20139234249fa0.tar.bz2
Using https instead http.
Diffstat (limited to 'views/default/videolist')
-rw-r--r--views/default/videolist/watch/bliptv.php1
-rw-r--r--views/default/videolist/watch/metacafe.php1
-rw-r--r--views/default/videolist/watch/vimeo.php2
3 files changed, 3 insertions, 1 deletions
diff --git a/views/default/videolist/watch/bliptv.php b/views/default/videolist/watch/bliptv.php
index 241cf791b..ae3d75901 100644
--- a/views/default/videolist/watch/bliptv.php
+++ b/views/default/videolist/watch/bliptv.php
@@ -1,5 +1,6 @@
<?php
$embedurl = $vars['entity']->embedurl;
+$embedurl = preg_replace('/https?:/', 'https:', $embedurl);
echo "<iframe src=\"$embedurl\" frameborder=\"0\" allowfullscreen></iframe>";
diff --git a/views/default/videolist/watch/metacafe.php b/views/default/videolist/watch/metacafe.php
index 40b632cf6..ce8e257d5 100644
--- a/views/default/videolist/watch/metacafe.php
+++ b/views/default/videolist/watch/metacafe.php
@@ -1,5 +1,6 @@
<?php
$embedurl = $vars['entity']->embedurl;
+$embedurl = preg_replace('/https?:/', 'https:', $embedurl);
echo "<embed flashVars=\"playerVars=autoPlay=no\" src=\"$embedurl\" wmode=\"transparent\" allowFullScreen=\"true\" allowScriptAccess=\"always\" name=\"Metacafe_$video_id\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\"></embed>";
diff --git a/views/default/videolist/watch/vimeo.php b/views/default/videolist/watch/vimeo.php
index d3ffd4391..cdb4b6bfb 100644
--- a/views/default/videolist/watch/vimeo.php
+++ b/views/default/videolist/watch/vimeo.php
@@ -2,4 +2,4 @@
$video_id = $vars['entity']->video_id;
-echo "<iframe src=\"http://player.vimeo.com/video/$video_id?byline=0\" frameborder=\"0\" webkitAllowFullScreen allowFullScreen></iframe>";
+echo "<iframe src=\"https://player.vimeo.com/video/$video_id?byline=0\" frameborder=\"0\" webkitAllowFullScreen allowFullScreen></iframe>";