[wp-trac] [WordPress Trac] #43363: Twenty Seventeen: Custom URL for Header Video

WordPress Trac noreply at wordpress.org
Wed Sep 1 16:44:00 UTC 2021


#43363: Twenty Seventeen: Custom URL for Header Video
-----------------------------+------------------------------
 Reporter:  fbotha           |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Bundled Theme    |     Version:  4.9.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by sabernhardt):

 Hi and welcome to Trac!

 I have not found a way to change the base URL within the Customizer. If
 you choose a video in your Media Library, it saves the attachment ID, and
 the custom URL field expects a YouTube link.

 Using the `get_header_video_url` filter, you could edit the (attachment)
 video's URL in a custom plugin (or functions.php). If you have a plugin
 for CDN images, it might automatically adjust the video URL by now, too.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43363#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list