#24971 closed defect (bug) (invalid)
Video shortcode: Firefox uses Flash player even when OGV is specified
Reported by: | dcavins | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 3.6 |
Component: | Media | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description (last modified by )
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.
-David
Change History (5)
#3
in reply to:
↑ 1
@
11 years ago
- Resolution set to invalid
- Status changed from new to closed
Replying to wonderboymusic:
That's the plugin, not the core code. Turn the plugin off and try again.
You were exactly right. I thought this test environement was still in its "natural state." Sorry for the false report.
That's the plugin, not the core code. Turn the plugin off and try again.