Video shortcode: Firefox uses Flash player even when OGV is specified
|Reported by:||dcavins||Owned by:|
Description (last modified by ocean90)
I'm working against WP's nightly builds on a test server to test out the new built-in video functionality (which is excellent).
I'm using shortcodes of this format:
[video mp4="sample.mp4" ogv="sample.ogv"][/video]
The video is able to be played in Safari, Firefox and Chrome (all Mac, 10.8.4), but MediaElement is falling back to the Flash player in Firefox, which is not the behavior I'm expecting. The output html (copied from Chrome) is
<video id="wp_mep_1" width="480" height="270" preload="none" src="sample.mp4"> <source src="sample.mp4" type="video/mp4"> <object width="480" height="270" type="application/x-shockwave-flash" data="http://test.local/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf"> <param name="movie" value="http://test.local/wp-content/plugins/media-element-html5-video-and-audio-player/mediaelement/flashmediaelement.swf"> <param name="flashvars" value="controls=true&file=sample.mp4"> </object> </video>
I'm expecting to see both sources listed in the video object, but only the mp4 is listed. Additionally, if you insert an OGV all by itself, no sources are included in the video element.
Change History (5)
- Resolution set to invalid
- Status changed from new to closed