WordPress.org

Make WordPress Core

Opened 22 months ago

Closed 22 months ago

Last modified 18 months ago

#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 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&amp;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)

comment:1 follow-up: @wonderboymusic22 months ago

  • Keywords reporter-feedback added

That's the plugin, not the core code. Turn the plugin off and try again.

comment:2 @ocean9022 months ago

  • Description modified (diff)

comment:3 in reply to: ↑ 1 @dcavins22 months 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.

comment:4 @duck_22 months ago

  • Milestone Awaiting Review deleted

comment:5 @SergeyBiryukov18 months ago

  • Version changed from trunk to 3.6
Note: See TracTickets for help on using tickets.