Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$5
Problem with mediaelements.js plugin not playing in firefox
i'm building a custom design using a template i bought from template monster
i'm using the audio player shortcode which came with the theme. which i believe is actually the http://mediaelementjs.com/ or mediaelements.js plugin - i'm using it to play a small intro speech from the owner of the site on the homepage
my problem is that after checking that it plays in ie9, i didn't consider that it wouldn't play properly in firefox, and the client is really happy with how it looks, i dont want to change it unless i have to, i'd rather just get it to play in firefox.. which surprizingly is a real mission.
i tried rolling it back a version because apparently the latest version of the plugin has trouble with firefox but that hasn't done much
please see http://www.communicationcourses.co.za/ in both chrome and firefox to see what i mean. the player is on the right hand side
i tried to fix this on wednesday and it took me a whole afternoon and i hav'nt gotten anywhere, i've tried installing it maually but i think the shortcode thats in there is conflicting, i dont have the time to figure it out, please can i ask for help to figure out why its not playing properly
Thanks
Mike
This question has been answered.
Mike Peters | 02/08/13 at 7:58am
Edit
Tutorial: How to assign prize money
The experts have suggested, on average, a prize of $10 for this question.
(5) Responses
See a threaded view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
02/08/13
8:34amKiet Luong says:try to deactivate "Better WordPress Minify" plugin on your dashboard. then see if it work.
Regards ! -

Last edited:
02/08/13
8:37amNaveen Chand says:Firefox does not support mp3 in html5 format. See this: http://www.w3schools.com/html/html5_audio.asp
However, it plays ogg files in html5.
Your theme is using html5 <audio> element to play mp3 file and therefore firefox will not play it. If you can create the same audio file in ogg format, then the correct syntax is described in the above link which is as follows:
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
This type of code is what you can use to play it in firefox but you need to use .ogg version of your audio.
If you don't want to create .ogg file by converting mp3 to ogg, then you could try this second method:
http://code.coneybeare.net/getting-html5-audio-tag-and-flash-fallback-to
Hope this helps. -

Last edited:
02/08/13
9:02am -
Last edited:
02/08/13
9:14amMike Peters says:Hi Kiet
Thank you so much that solved the problem :)
shoul di even bother running this plugin, it makes my site so much faster though,
but everytime i seem have a problems, the firsth thing people post is disable the Better Wordpress Minify plugin,
is it even worth using?
Thanks again man, much appreciated :) -
Last edited:
02/08/13
9:15amMike Peters says:Hi Naveen
Thanks alot for your response,
Yeah i did play with some ogg files but i had problems with them,
but i realise i was usuing the wrong syntax :) i found that article really interesting,
gonna do it likw ethat in the future
Thanks for your help!
Cheers
Mike
This question has expired.
Gabriel Reguly, Mike Peters voted on this question.
Current status of this question: Completed
Please log in to add additional discourse to this page.
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
