[wp-trac] [WordPress Trac] #24971: Video shortcode: Firefox uses Flash player even when OGV is specified
WordPress Trac
noreply at wordpress.org
Tue Aug 6 18:26:33 UTC 2013
#24971: Video shortcode: Firefox uses Flash player even when OGV is specified
-------------------------------+------------------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: minor | Resolution:
Keywords: reporter-feedback |
-------------------------------+------------------------------
Description changed by ocean90:
Old description:
> 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
New description:
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
--
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24971#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list