[wp-trac] [WordPress Trac] #24875: MP3 not working in audio shortcode in Firefox
WordPress Trac
noreply at wordpress.org
Mon Jul 29 09:48:58 UTC 2013
#24875: MP3 not working in audio shortcode in Firefox
--------------------------+------------------------------
Reporter: tollmanz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: major | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by tollmanz):
According to the mediaelement.js website, Firefox is supported with Flash.
I have installed Flash on OS X and nothing renders for the audio. Using
the same shortcode and rendered HTML, the JS renders the following with
Flash installed:
{{{
<div style="width: 400px; height: 30px;" id="mep_0" class="mejs-container
svg wp-audio-shortcode mejs-audio">
<div class="mejs-inner">
<div class="mejs-mediaelement">
<audio style="display: none;" class="wp-audio-
shortcode" id="audio-1396-1" preload="none">
<source type="audio/mpeg"
src="http://wptrunk.dev/wp-content/uploads/2013/07/13-Soul-Calibur-1.mp3">
<a href="http://wptrunk.dev/wp-
content/uploads/2013/07/13-Soul-Calibur-1.mp3">http://wptrunk.dev/wp-
content/uploads/2013/07/13-Soul-Calibur-1.mp3</a>
</audio>
</div>
<div class="mejs-layers"></div>
<div class="mejs-controls"></div>
<div class="mejs-clear"></div>
</div>
</div>
}}}
Image of the issue is forthcoming.
I get the same error as reported above:
> [02:11:02.501] Specified "type" attribute of "audio/mpeg" is not
supported. Load of media resource http://wptrunk.dev/wp-
content/uploads/2013/07/13-Soul-Calibur-1.mp3 failed. @
http://wptrunk.dev/index.php/testing-audio/
According to a [http://stackoverflow.com/questions/4923136/why-doesnt-
firefox-support-mp3-file-format-in-audio StackExchange discussion],
Firefox should natively support MP3s in v21+.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24875#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list