Opened 3 years ago
Last modified 2 years ago
#43363 new feature request
Twenty Seventeen: Custom URL for Header Video
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 4.9.4 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
Good Day
On the bundled theme Twenty Seventeen Version: 1.4.
You are only able to upload a video under the Appearance / Customize / Header Media section.
This results in video content being served from the Base URL.
i.e.
<script type='text/javascript'>var _wpCustomHeaderSettings = {"mimeType":"video\/mp4","posterUrl":"","videoUrl":"https:\/\/www.stratuscloud.co.za\/wp-content\/uploads\/2017\/06\/Flying.mp4","width":"2000","height":"1200","minWidth":"900","minHeight":"500","l10n":{"pause":"<span class=\"screen-reader-text\">Pause background video<\/span><svg class=\"icon icon-pause\" aria-hidden=\"true\" role=\"img\"> <use href=\"#icon-pause\" xlink:href=\"#icon-pause\"><\/use> <\/svg>","play":"<span class=\"screen-reader-text\">Play background video<\/span><svg class=\"icon icon-play\" aria-hidden=\"true\" role=\"img\"> <use href=\"#icon-play\" xlink:href=\"#icon-play\"><\/use> <\/svg>","pauseSpeak":"Video is paused.","playSpeak":"Video is playing."}};</script>
Thus it does not currently seem possible to serve the video from a CDN.
https://cdn.stratuscloud.co.za/wp-content/uploads/2017/06/Flying.mp4
vs
https://www.stratuscloud.co.za/wp-content/uploads/2017/06/Flying.mp4
Is it possible to override this value on database or file level or would this require an additional feature to be added to the Theme?
Header Media - Video