A Sudden Problem That Used to Work!
by billquinn from LinuxQuestions.org on (#59D4A)
CentOS 6
Firefox Browser
Extended Support Release
78.3.0esr (32-bit)
Two of my Web sites have several pages each that play a song. It has worked perfectly for a number of years. I few days ago, I was checking a song page in each of the two Web sites. I decided no changes were needed. But for some reason none of the song pages in either Web site now work.
What should happen is this: the page opens, and there is some text related to the song on that page and also a black square where the song will occur. Inside the black square displays a line "Run Adobe Flash." Clicking it brings up two options. The one to play the music can be clicked, and the music starts with a colored background.
Now when the page is opened, the black square is there with the "Run Adobe Flash" as usual, but clicking it removes the entire square completely! Everything else on the page remains, but no music can play. Once this happens on one page, none of the other musical pages in that Web site even start out with the black square.
You'll need the two Web sites to investigate this sudden problem. Here are the two Web sites with one of the musical pages in each as an example:
https://messiahstudies.org/Hatikvah.html
https://southern-partisan.org/Dixie.html
Here is the specific code that should run the song for each of these two pages:
Hatikvah.html:
<div id="container" style="width: 510px; margin-left: auto; margin-right: auto;"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[
var s1 = new SWFObject("player-viral.swf","ply","510","400","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars", "icons=false&file=Hatikva.flv&image=IsraeliFlag2.jpg");
s1.write("container");
//]]>
</script>
Dixie.html:
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[
var s1 = new SWFObject("player-viral.swf","ply","436","342","9","#FFFFFF");
s1.addParam("allowfullscreen","false");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars", "icons=false&file=Dixie.flv&image=ConfederateFlags.jpg");
s1.write("container");
//]]>
</script>
But since you have the two Web sites themselves, you can look at the entire page for each. It used to work!
Thanks so much. I hope you can give me the solution! smile.gif


Firefox Browser
Extended Support Release
78.3.0esr (32-bit)
Two of my Web sites have several pages each that play a song. It has worked perfectly for a number of years. I few days ago, I was checking a song page in each of the two Web sites. I decided no changes were needed. But for some reason none of the song pages in either Web site now work.
What should happen is this: the page opens, and there is some text related to the song on that page and also a black square where the song will occur. Inside the black square displays a line "Run Adobe Flash." Clicking it brings up two options. The one to play the music can be clicked, and the music starts with a colored background.
Now when the page is opened, the black square is there with the "Run Adobe Flash" as usual, but clicking it removes the entire square completely! Everything else on the page remains, but no music can play. Once this happens on one page, none of the other musical pages in that Web site even start out with the black square.
You'll need the two Web sites to investigate this sudden problem. Here are the two Web sites with one of the musical pages in each as an example:
https://messiahstudies.org/Hatikvah.html
https://southern-partisan.org/Dixie.html
Here is the specific code that should run the song for each of these two pages:
Hatikvah.html:
<div id="container" style="width: 510px; margin-left: auto; margin-right: auto;"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[
var s1 = new SWFObject("player-viral.swf","ply","510","400","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars", "icons=false&file=Hatikva.flv&image=IsraeliFlag2.jpg");
s1.write("container");
//]]>
</script>
Dixie.html:
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
//<![CDATA[
var s1 = new SWFObject("player-viral.swf","ply","436","342","9","#FFFFFF");
s1.addParam("allowfullscreen","false");
s1.addParam("allownetworking","all");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars", "icons=false&file=Dixie.flv&image=ConfederateFlags.jpg");
s1.write("container");
//]]>
</script>
But since you have the two Web sites themselves, you can look at the entire page for each. It used to work!
Thanks so much. I hope you can give me the solution! smile.gif