aboutsummaryrefslogtreecommitdiff
path: root/views/default/videolist/watch/metacafe.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/videolist/watch/metacafe.php')
-rw-r--r--views/default/videolist/watch/metacafe.php1
1 files changed, 1 insertions, 0 deletions
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>";