diff options
Diffstat (limited to 'views/default/videolist')
-rw-r--r-- | views/default/videolist/watch/bliptv.php | 1 | ||||
-rw-r--r-- | views/default/videolist/watch/metacafe.php | 1 | ||||
-rw-r--r-- | views/default/videolist/watch/vimeo.php | 2 |
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>"; |