[TASK] Always use HTTPS for youtube and vimeo
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Rendering / YouTubeRenderer.php
index 15bff8b..a7bbfa7 100644 (file)
@@ -120,7 +120,7 @@ class YouTubeRenderer implements FileRendererInterface
 
         $videoId = $this->getOnlineMediaHelper($file)->getOnlineMediaId($orgFile);
         $src = sprintf(
-            '//www.youtube%s.com/embed/%s?%s',
+            'https://www.youtube%s.com/embed/%s?%s',
             !empty($options['no-cookie']) ? '-nocookie' : '',
             $videoId,
             implode('&', $urlParams)