Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

I create HTML files with embedded mp3 for stage performances. After update firefox shows page but no sound. I need these files to work urgently. HELP!!!

  • 15 பதிலளிப்புகள்
  • 4 இந்த பிரச்னைகள் உள்ளது
  • 5 views
  • Last reply by cor-el

I'm a solo singer songwriter and I create HTML files of my lyrics and embed mp3 backing tracks to use in my stage performances. Everything worked fine until a Firefox update. Now the HTML files open but there is no sound. I don't know any 'work around' for this problem, but need to solve this problem urgently. I read somewhere on here about HTML5 files but I cannot go through every lyrics page to convert it, or even if I can convert them. I use Coffeecup HTML editor to embed the mp3 files and Microsoft Office Word to create the HTML files. Any assistance in this urgent matter is greatly appreciated and I thank anyone in advance if you can help

I'm a solo singer songwriter and I create HTML files of my lyrics and embed mp3 backing tracks to use in my stage performances. Everything worked fine until a Firefox update. Now the HTML files open but there is no sound. I don't know any 'work around' for this problem, but need to solve this problem urgently. I read somewhere on here about HTML5 files but I cannot go through every lyrics page to convert it, or even if I can convert them. I use Coffeecup HTML editor to embed the mp3 files and Microsoft Office Word to create the HTML files. Any assistance in this urgent matter is greatly appreciated and I thank anyone in advance if you can help

தீர்வு தேர்ந்தெடுக்கப்பட்டது

Did you try to use the bookmarklet I posted above?

That should be able to change the embed tag to an audio tag which Firefox would use to play the MP3 file.

Create a new bookmark e.g. on the Bookmarks Toolbar and paste the JavaScript code in its location field or alternatively run the JavaScript code via the command line of the Web Console if you want to test this.

Read this answer in context 👍 0

All Replies (15)

What code do you use on your web pages?

These days you need to use the AUDIO tag since most browsers no longer support plugins, so the OBJECT tag will not work anymore.

Can you link to a page demonstrating this problem?

I suspect the pages were set up to use a plugin such as QuickTime, VLC, or Windows Media Player.

The regular release of Firefox 52-53 only allows one plugin, which is Flash. The Extended Support Release (ESR) of Firefox 52 will still run the old plugins that ran in Firefox 51.

ESR was first developed to meet the needs of large organizations that wanted Firefox to change much more slowly. It gets security updates but no feature changes for about a year at a time. You don't need to be a business to run it.

Download and run the ESR installer from https://www.mozilla.org/firefox/organizations/all/ -- make sure to choose the regular Windows installer and not the Windows 64-bit installer. That 64-bit version can only run Flash and Silverlight, which is unlikely to solve your problem.

Also, if you need to go on right now, use Internet Explorer 11. I assume it hasn't changed recently.

Note that you can use a bookmarklet to convert an object/embed tag to an audio tag assuming that Firefox can play the MP3 files.


javascript:(function(){var cE='audio',eE=document.querySelectorAll('object,embed');for(i=0;E=eE[i];i++){N=document.createElement(cE);N.setAttribute('src',E.src||E.data);N.setAttribute('controls','');N.setAttribute('autoplay','true');E.parentNode.replaceChild(N,E)}})()

I notice that this OP has asked a question about MP3 two times before, but has never returned to respond to a reply.

jscher2000 said

Also, if you need to go on right now, use Internet Explorer 11. I assume it hasn't changed recently.

I’ve tried to respond in the past but never allowed to log in. Even my replies to these emails never made it and got returned. If this message gets through to you I’m glad it did. If not, well, I did try Hoping it’s got through. Thank you to all who responded. The problem is you think I’m technically minded, I assure you all I’m not. A friend showed me once how to use Coffecup editor and gave me a script to copy and paste into the file. Sadly my friend has passed away and I have nobody else who knows what I do, or I can’t quite explain what I do correctly. Here is what I paste into the CoffeeCup editor, then I change the ‘crazy’ mp3 file for whatever mp3 I need

<script language="JavaScript" type="text/javascript">
<!--
if(navigator.appVersion.indexOf("MSIE")!=-1&&document.all)
document.write('<bgsoundsrc="crazy.mp3" loop="1">');
else
document.write('<embed src="crazy.mp3" loop="1"autostart="true" HEIGHT="1" WIDTH="1">');
// -->
</script>
<noscript>
<bgsoundsrc="crazy.mp3" loop="1">
</noscript>
<styletype="text/css">
<!--
body{
color:#000000;
      background-color:#FFFFFF;
}
a{ color:#0000FF;}
a:visited{ color:#800080;}
a:hover{ color:#008000;}
a:active{ color:#FF0000;}
-->
</style>
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

Any help is greatly appreciated

cor-el மூலமாக திருத்தப்பட்டது

Unfortunately, this forum is not designed to accept email replies, so you do have to come back to the question and post your replies here.

GarryJames said

Here is what I paste into the CoffeeCup editor, then I change the ‘crazy’ mp3 file for whatever mp3 I need
<script language="JavaScript" type="text/javascript">
if(navigator.appVersion.indexOf("MSIE")!=-1&&document.all)
document.write('<bgsoundsrc="crazy.mp3" loop="1">');
else
document.write('<embed src="crazy.mp3" loop="1"autostart="true" HEIGHT="1" WIDTH="1">');
</script>
<noscript>
<bgsoundsrc="crazy.mp3" loop="1">
</noscript>

Okay, yes, that's from the 1990s and if you are running the regular Firefox 52 or newer, it won't work. Is this a website you created just for yourself or do you need a general solution for all visitors?

If it's just for yourself, you can use the Extended Support Release of Firefox 52 as mentioned earlier.

If you need to modify the pages, that looks to be a bit of a project.

If this is just for yourself and you are considering the ESR route, then you may wish to think about a solution for the longer term. In about a year the ESR 52 will update and almost certainly no longer work as a solution.

What you could do is at some stage before the update is to set Firefox not to update. If instead of using the ordinary ESR you use the third party ESR portable you could install that on the hdd or on a memory stick as an additional browser just for use with your music and stay on the ESR52 series.

There are other ways of installing an additional Firefox browser but on Windows that is the simplest method.

தீர்வு தேர்ந்தெடுக்கப்பட்டது

Did you try to use the bookmarklet I posted above?

That should be able to change the embed tag to an audio tag which Firefox would use to play the MP3 file.

Create a new bookmark e.g. on the Bookmarks Toolbar and paste the JavaScript code in its location field or alternatively run the JavaScript code via the command line of the Web Console if you want to test this.

cor-el said

Did you try to use the bookmarklet I posted above? That should be able to change the embed tag to an audio tag which Firefox would use to play the MP3 file. Create a new bookmark e.g. on the Bookmarks Toolbar and paste the JavaScript code in its location field or alternatively run the JavaScript code via the command line of the Web Console if you want to test this.

I think I mentioned in an earlier post that I'm no technophobe. I'm sure what you're suggesting will probably do what I want, but my knowledge base is minimal. A friend showed me how to use CoffeeCup HTML editor, how to create a HTML page in Windows Word and where to post the following script into the CoffeeCup edit

<script language="JavaScript" type="text/javascript">
<!--
if(navigator.appVersion.indexOf("MSIE")!=-1&&document.all)
document.write('<bgsoundsrc="????.mp3" loop="1">');
else
document.write('<embed src="????.mp3" loop="1"autostart="true" HEIGHT="1" WIDTH="1">');
// -->
</script>
<noscript>
<bgsoundsrc="????.mp3" loop="1">
</noscript>
<styletype="text/css">
<!--
body{
color:#000000;
      background-color:#FFFFFF;
}
a{ color:#0000FF;}
a:visited{ color:#800080;}
a:hover{ color:#008000;}
a:active{ color:#FF0000;}
-->
</style>
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

Other than this I have no idea what I'm doing

cor-el மூலமாக திருத்தப்பட்டது

<script language="JavaScript" type="text/javascript">
<!--
if(navigator.appVersion.indexOf("MSIE")!=-1&&document.all)
document.write('<bgsoundsrc="crazy.mp3" loop="1">');
else
document.write('<embed src="crazy.mp3" loop="1"autostart="true" HEIGHT="1" WIDTH="1">');
// -->
</script>
<noscript>
<bgsoundsrc="crazy.mp3" loop="1">
</noscript>
<styletype="text/css">
<!--
body{
color:#000000;
      background-color:#FFFFFF;
}
a{ color:#0000FF;}
a:visited{ color:#800080;}
a:hover{ color:#008000;}
a:active{ color:#FF0000;}
-->
</style>
<!--[if IE]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

cor-el மூலமாக திருத்தப்பட்டது

every time I ry to post the script in a reply, it will not show the whole thing. ????

You need to place the code between <pre><nowiki> and </nowiki></pre> tags. Otherwise tags that aren't allowed will be blocked. If you check the page source (Ctrl+U) then you will notice a DIV.content-raw that has the full HTML code and JavaScript code.


<pre><nowiki>

[enter you code here]

</nowiki></pre>

Did you manage to create a new bookmark and pasted the full JavaScript code in its location field.

The way to use the bookmarklet is first to load the page in a tab and then click the bookmarklet to run the JavaScript code you pasted in its location field. Then the page code will be modified and the embed tag will be replaced by an audio tag. This should make the MP3 file play.

For easy access to the bookmarklet, best is to create this bookmark on the Bookmarks Toolbar.