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

WordPress Trac noreply at wordpress.org
Wed Sep 28 13:59:12 UTC 2016


#38172: Enable Video Headers in Custom Headers
-----------------------------+------------------------------
 Reporter:  davidakennedy    |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------

Comment (by celloexpressions):

 We need to use the core video functions for this; if we want to switch
 those to using something other than MediaElement.js (even such as raw
 video tags, when the time comes), that would be a different discussion.

 I vaguely remember there actually being a higher-level function than
 `wp_video_shortcode()` that also handles additional source formats being
 uploaded, although we can probably recommend uploading `.mp4`/`H.264`
 given the current browser support for that.

 I also realized we could consider using the header image as the `poster`
 attribute if we use that as an automatic fallback and match the sizes.

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


More information about the wp-trac mailing list