From 586cfe6b355b7c4e4bf41346c0d853c90633a09d Mon Sep 17 00:00:00 2001 From: Felix Wahner Date: Mon, 13 Jul 2015 14:29:55 +0200 Subject: [PATCH] Bugfix: Use protocol relative URL for the video.js CDN to avoid issues with mixed content over https --- Classes/Controller/VideoplayerController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/Controller/VideoplayerController.php b/Classes/Controller/VideoplayerController.php index 128cb3a..58c7a18 100644 --- a/Classes/Controller/VideoplayerController.php +++ b/Classes/Controller/VideoplayerController.php @@ -232,8 +232,8 @@ protected function loadHeaderData() { $swf = ''; if (isset($this->settings['videoJsCdn']) && $this->settings['videoJsCdn']) { - $css = 'http://vjs.zencdn.net/' . self::VIDEO_JS_VERSION . '/video-js.css'; - $javaScript = 'http://vjs.zencdn.net/' . self::VIDEO_JS_VERSION . '/video.js'; + $css = '//vjs.zencdn.net/' . self::VIDEO_JS_VERSION . '/video-js.css'; + $javaScript = '//vjs.zencdn.net/' . self::VIDEO_JS_VERSION . '/video.js'; $swf = FALSE; }