[wp-trac] [WordPress Trac] #38172: Enable Video Headers in Custom Headers

WordPress Trac noreply at wordpress.org
Tue Oct 18 22:17:42 UTC 2016


#38172: Enable Video Headers in Custom Headers
----------------------------+--------------------
 Reporter:  davidakennedy   |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  4.7
Component:  Themes          |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------

Comment (by bradyvercher):

 [attachment:38172.4.diff] contains a concept for a JS-based approach to
 replacing the header image with a dynamically generated video tag. It has
 support for loading YouTube videos, which would need to be added to the
 Customizer. It should be possible for a plugin to create handlers for
 other sources as well.

 This approach would also allow for determining which scenarios videos
 should be embedded using the `wp.customHeader.supportsVideo()` method.

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


More information about the wp-trac mailing list