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

WordPress Trac noreply at wordpress.org
Thu Oct 27 19:24:43 UTC 2016


#38172: Enable Video Headers in Custom Headers
-------------------------------------+-------------------------------------
 Reporter:  davidakennedy            |       Owner:  joemcgill
     Type:  task (blessed)           |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.7
Component:  Themes                   |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch ui-feedback    |     Focuses:  ui, accessibility,
  ux-feedback dev-feedback has-      |  javascript
  screenshots                        |
-------------------------------------+-------------------------------------

Comment (by joemcgill):

 In [attachment:38172.19.diff] fires a `wp-custom-header-video-loaded`
 event whenever we load the custom header video which themes can listen for
 to make changes based on the inserted video. For example, in Twenty
 Fourteen, we recalculate the header height once the video loads so we can
 fix the navigation to the top of the screen on scroll.

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


More information about the wp-trac mailing list