[wp-trac] [WordPress Trac] #38172: Enable Video Headers in Custom Headers
WordPress Trac
noreply at wordpress.org
Tue Sep 27 23:43:41 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 bradyvercher):
Regarding MediaElement.js, I'm not sure it's absolutely necessary for this
use-case. Fallback support is provided through Flash, which is being
phased out of the major browsers and isn't supported on iOS at all. Much
of MediaElement.js is focused on generating a consistent interface across
browsers, which isn't needed since these are background videos without
controls. If a browser doesn't support HTML5 video at this point, I would
think a fallback image should be acceptable for this type of feature.
It would be nice to know what the most uploaded video formats are, but
almost all browsers support [http://caniuse.com/#feat=mpeg4 MPEG-4/H.264].
Other formats could be specified using the `<source>` tag if necessary.
As for third-party providers, I'm pretty sure Vimeo support in
MediaElement.js doesn't work in the current version. The YouTube plugin
really just injects an iframe and maps events between the interface and
the iframe using the YouTube JavaScript API. Embedding an iframe directly
[https://developers.google.com/youtube/player_parameters using the player
parameters] would achieve the same result, with much lower overhead, but I
imagine the video/logo would need to remain clickable to not violate their
TOS.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38172#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list