Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#24971 closed defect (bug) (invalid)

Video shortcode: Firefox uses Flash player even when OGV is specified

Reported by: dcavins's profile 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">			

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)

#1 follow-up: @wonderboymusic
11 years ago

  • Keywords reporter-feedback added

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

#2 @ocean90
11 years ago

  • Description modified (diff)

#3 in reply to: ↑ 1 @dcavins
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.

#4 @duck_
11 years ago

  • Milestone Awaiting Review deleted

#5 @SergeyBiryukov
11 years ago

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