
what is the formula for embedding music, non-downloadable, in Front Page, to upload to Firefox?
I upload my own music to my website, and maybe other mp3's to play behind pictures that I put up. I used to be able to use <embed hidden=true loop=tre src="Track_05_070713.mp3" loop="-1"> Now with the new version of Firefox, this does not work anymore. What is the new formula?
Sincerely, Philip G "Rusty" Tullius
Krejt Përgjigjet (5)
In Firefox 22 the hidden=true attribute made the embed stop working, but in Firefox 23 and later this should have been fixed and working once again.
- Bug 890516 - Embedded audio stopped working after installing FF 22
You can add a MIME type to specify which plugin to use, without a MIME type probably only QuickTime will play the MP3 file.
Note that even when you hide the player it is not too difficult to get the location of the file and download it anyway.
This is an example of what I used to have:
<html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>If I were to begin life again</title> </head> <body background="owl_in_tree.jpg" bgcolor="#000000" text="#FFFFFF" link="#00FFFF" vlink="#00FF00" alink="#FF00FF"> ''<embed hidden=true loop=true src="track_O5.mp3" width="128" height="128">'' <p><font size="6"><b><i>If I were to begin life again, </i></b></font></p> <p><font size="6"><b><i>I should want it as it was. </i></b></font></p> <p><font size="6"><b><i>I would only open my eyes </i></b></font></p> <p><font size="6"><b><i> - </i></b></font><font size="6"><b><i>a little more. Jules Renard</i></b></font></p>
It doesn't work now. I don't know how to tell if I have Firefox 22 or 23, I downloaded the most recent version about 2 weeks ago.
As well, I do not know how to add a MIME type to specify which plug-in to use. As far as I can tell I am not using ANY plugins, just the html code.
Thank you so much . . . still don't know what to do Sincerely' Philip
Ndryshuar
With this I have to use quicktime, whereas in Windows, using IE, the music just starts playing as soon as you hit the screen.
A quick test is this JavaScript bookmarklet:
javascript:(function(){var e=document.querySelectorAll("embed[hidden]"),E,i;for(i=0;E=e[i];i++){E.style.setProperty("display","-moz-box","important")}})()
You can use width=0 and height=0 (or possibly 1) instead of hidden=true.