--- typo3_src/typo3/sysext/cms/tslib/class.tslib_mediawizardcoreprovider.php (revision ) +++ typo3_src/typo3/sysext/cms/tslib/class.tslib_mediawizardcoreprovider.php (revision ) @@ -118,6 +118,8 @@ */ protected function process_youtube($url) { $videoId = ''; + $http = 'http'; + if (strpos($url, '/user/') !== FALSE) { // it's a channel $parts = explode('/', $url); @@ -126,8 +128,12 @@ $videoId = $matches[2]; } + if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on') { + $http = 'http'; + } + if ($videoId) { - $url = 'http://www.youtube.com/v/' . $videoId . '?fs=1'; + $url = $http . '://www.youtube.com/v/' . $videoId . '?fs=1'; } return $url; }