Skip to content

Commit

Permalink
Bugfix: Use protocol relative URL for the video.js CDN to avoid issue…
Browse files Browse the repository at this point in the history
…s with mixed content over https
  • Loading branch information
Felix Wahner committed Jul 13, 2015
1 parent 9ff8c35 commit 586cfe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Controller/VideoplayerController.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ protected function loadHeaderData() {
$swf = '<script>videojs.options.flash.swf = "' . $folder . 'video-js-' . self::VIDEO_JS_VERSION . '/video-js.swf"</script>';

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;
}

Expand Down

0 comments on commit 586cfe6

Please sign in to comment.