my browser is moz firefox. Recently I lost sound of midi files on my website. What can I do?
my website is www.pineywoodsindustries.com and I no longer get sound for my music. My website host is Bravenet and they tell me that I should contact you. Our theme on website is Texas and the music is very important to our theme. Please help me with getting the music back. I can get music sound when I go through Internet Explorer so why not Firefox?
所有回覆 (4)
Hi
This sounds more like a web development questions than an issue with Firefox. I recommend that you consult the experts at https://stackoverflow.com/.
I am very frustrated with this. I went to stackflow but cannot resolve my problem. All I need is the proper code for audio on my website while using Mozilla Firefox. Please help! I am not proficient in html.
Have you been using an object or embed tag to play the media? Those usually will trigger a plugin.
The regular release of Firefox 52 only allows one plugin, which is Flash. The Extended Support Release (ESR) of Firefox 52 will still run Java, VLC, and other old plugins. ESR gets security updates but no feature changes for about a year at a time. While ESR was first developed to meet the needs of large organizations that wanted Firefox to change much more slowly, anyone can run it.
More information on this change and ESR: Why do Java, Silverlight, Adobe Acrobat and other plugins no longer work?
From the developer perspective, this means you either need to find a way to play the media files through the built-in media player, or through the Flash plugin, or push them to users as a download to open in an external player, or convert them to another format.
Built-in Media Player: Firefox's built-in player can handle a number of formats, but I do not see MIDI on the list: https://developer.mozilla.org/docs/Web/HTML/Supported_media_formats
There does seem to be at least one JavaScript library which could be relevant, but the sound of the demos is not as clear as I would expect. https://github.com/mudcube/MIDI.js
Flash-based Player: Flash doesn't normally support MIDI files, either, so you would need to find an SWF with the special sauce needed to play them.
Forced Download: Depending on the technologies used in your site, this can be done in a number of different ways.
Convert Format: A web search shows a number of different converters, some online, some downloadable. As with any audio- or video-related software, please be very cautious with any downloads that may include unwanted extras. https://duckduckgo.com/?q=convert+midi+to+ogg&t=ffsb
Firefox 52 and later releases only support the Shockwave Flash plugin and disable all other plugins. If you need to use other plugins then you can use the Firefox 52 ESR release. Otherwise you can stay with the current Firefox release version.
Why-do-Java-Silverlight-Adobe-Acrobat-and-other-plugins-no longer work.
So you can no longer use and object or embed tag to play MIDI and other media files unless you use the Firefox 52 ESR version. There is no solution to play midi files with the HTML5 media player, so you would have to convert such media files to a supported media type.
<embed autostart="true" height="30" loop="true" src="sanantoniorose.mid" width="145"></embed>