LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2020, 11:04 AM   #1
billquinn
Member
 
Registered: May 2005
Posts: 46

Rep: Reputation: 1
A Sudden Problem That Used to Work!


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

Last edited by billquinn; 10-22-2020 at 12:46 PM.
 
Old 10-22-2020, 12:55 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,244

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Your problem really is that flash is dead. I's been replaced by html 5.

I tried your links in Firefox. Firefox takes the flash plugin like a personal insult, and automatically disables it. In the mozilla/plugins, it has the actual files

So I tried palemoon, which has symlinks to mozilla's plugin files, and that starts if I make it, but no sound is forthcoming.
No video either.

Can I suggest you update to html5? Compatibility problems will end.
 
2 members found this post helpful.
Old 10-22-2020, 02:04 PM   #3
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,591

Rep: Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542
Quote:
Originally Posted by billquinn View Post
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.
As above, there is now a specific HTML tag for playing audio files: https://developer.mozilla.org/en-US/.../Element/audio

At the bottom of that page you will see compatibility is basically every browser released in the past decade, with a fallback direct link for every browser released before then.

You can use a tool such as ffmpeg to extract the audio from flv (Flash Video) files and save it as mp3/ogg/whatever.

 
1 members found this post helpful.
Old 10-22-2020, 02:34 PM   #4
billquinn
Member
 
Registered: May 2005
Posts: 46

Original Poster
Rep: Reputation: 1
Thanks, business_kid!

I understand your interest in html5, but all my Web sites are based on XHTML. Changing over to html5 would be a herculean job on my twelve Web sites! Also, flash-plugin.i386 is still updating with yum.

For example, one of my other Web sites also has several musical pages, and they still work. Here's one of the pages:

https://rediscoveringthebible.com/Creation.html

The code is only slightly different. Here's the specific code that runs the song -- and it works:

<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="jwplayer.js"></script>
<script type="text/javascript">
jwplayer("container").setup
(
{
autostart: false,
icons: false,
controlbar: "bottom",
file: "Creation.flv",
image: "deckedout.jpg",
flashplayer: "player.swf",
width: 480,
height: 376
}
);
</script>

You'll notice that "Creation.flv" is also used in this code. An ".flv" is also used in the code in each of the two pages in my first post that are not working.

Can you help me get --

https://messiahstudies.org/Hatikvah.html

and

https://southern-partisan.org/Dixie.html

working again?

Thanks so much.
 
Old 10-22-2020, 02:49 PM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,244

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I have no particular interest in html 5, it's simply what folks are using. I do have an interest in the Scriptures, but if everything on the site is in flash, and flash is dying/dead, you should be changing it. Contract it out if you're not bothered yourself.

I'm using slackware64-Current. The Red Hat stable uses ancient versions from the get-go with back ported patches. It's not really a guide to what's current. Adobe never got flash secure in 64 bit. You have 32bit. It's been insecure for 10+ years.
 
Old 10-22-2020, 03:04 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,244

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I tried your link.

You should remove the 'best viewed with firefox'. Standard 64bit Firefox won't consider Flash, it seems.

Palemoon played the video as a security exception, but I heard no sound. I didn't bookmark your site, which says it has html-1.0 & css. From listening to my programmer son sound off, there's html5, javascript, json, css, maybe php, and a rake of software suites (e.g. ruby on rails) in the average website these days. It's a specialized business, and contracting it out is cheaper than you think (Unless you're Donald Trump). It may work for you, but that's honest feedback.
 
Old 10-22-2020, 03:32 PM   #7
boughtonp
Senior Member
 
Registered: Feb 2007
Location: UK
Distribution: Debian
Posts: 3,591

Rep: Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542Reputation: 2542
Quote:
Originally Posted by billquinn View Post
I understand your interest in html5, but all my Web sites are based on XHTML. Changing over to html5 would be a herculean job on my twelve Web sites!
Why is it a herculean job to change the first line of a few files to "<!doctype html />" ?

Not that you actually need to do that - go ahead and put the audio tag in your existing page and it will just work. (Once you have converted the audio to mp3/etc.)


Quote:
Also, flash-plugin.i386 is still updating with yum.
Are the songs for you, or for your website visitors?

You might have Flash installed, but Apple devices no longer have it, and plenty of other browsers have it disabled.


Quote:
For example, one of my other Web sites also has several musical pages, and they still work.
Then - if you really want to keep using Flash - simply use the same code used for the working one!


Quote:
The code is only slightly different
Nope, it's completely different code.

One uses jwplayer.js to play the flv file, the other uses swfobject.js to create a SWFObject that calls player-viral.swf which plays the file.


Last edited by boughtonp; 10-22-2020 at 03:35 PM.
 
Old 10-22-2020, 03:33 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Problem remains: Flash is dead (thank dog).
I'm pretty sure there's solutions for this particular problem that do not require rewriting "all your 12 web sites".
Like simply replacing the flash-demanding javascript with some clean, beautiful and democratic <audio> tags.
 
Old 10-22-2020, 07:03 PM   #9
billquinn
Member
 
Registered: May 2005
Posts: 46

Original Poster
Rep: Reputation: 1
Thanks everyone!

I'll study your points and suggestions and get back to you tomorrow or Saturday. (I'm U.S.A., Eastern time.) Unfortunately, many things pull me away from the computer!

Bill

P.S.: Those of you who looked around on the three Wed sites know that "Bill" is not me real name!
 
Old 10-23-2020, 08:12 AM   #10
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,132
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Just my 2 cents, like others have said. If I load a web page and it requires flash, it's a non starter. I won't even look any farther. You should have moved from flash 6 or 8 years ago. I don't even have javascript turned on in my browsers.

I do have python scripts that will parse a web page, running the scripts on the page.

That first link
https://messiahstudies.org/Hatikvah.html

Has this content.
Code:
https://messiahstudies.org/Hatikvah.html

https://messiahstudies.org/MessiahStyleRules.css

https://messiahstudies.org/Jerusalem-5.jpg

https://messiahstudies.org/TheMessiahOfIsrael-4.png

https://messiahstudies.org/swfobject.js

https://messiahstudies.org/IsraeliFlag.gif

https://messiahstudies.org/IsraelInHebrew2.gif

https://messiahstudies.org/valid-xhtml10-blue.png

https://messiahstudies.org/vcss-blue.gif

https://messiahstudies.org/Clouds-4.jpg

https://messiahstudies.org/favicon.ico
And that's it. Not very useful at all to me. If you wanted me as a customer you would need to do something different.

The second page
Code:
https://southern-partisan.org/Dixie.html

https://southern-partisan.org/PersonalStyleRules.css

https://southern-partisan.org/SouthernPartisan2.png

https://southern-partisan.org/swfobject.js

https://southern-partisan.org/valid-xhtml10-blue.png

https://southern-partisan.org/vcss-blue.gif

https://southern-partisan.org/Clouds2f.png

https://southern-partisan.org/favicon.ico

js: Uncaught ReferenceError: changeBorder is not defined
3rd
Code:
https://rediscoveringthebible.com/Creation.html

https://rediscoveringthebible.com/BibleStyleRules.css

https://rediscoveringthebible.com/Logo3.png

https://rediscoveringthebible.com/KingOfGlory.gif

https://rediscoveringthebible.com/jwplayer.js

https://rediscoveringthebible.com/valid-xhtml10-blue.png

https://rediscoveringthebible.com/vcss-blue.gif

https://rediscoveringthebible.com/Background4.jpg

https://rediscoveringthebible.com/deckedout.jpg

http://l.longtailvideo.com/download/5/9/logo.png

https://rediscoveringthebible.com/favicon.ico

https://rediscoveringthebible.com/Creation.flv
Code:
ffprobe https://rediscoveringthebible.com/Creation.flv
...
Input #0, flv, from 'https://rediscoveringthebible.com/Creation.flv':
  Duration: 00:04:55.05, start: 0.000000, bitrate: 844 kb/s
    Stream #0:0: Video: flv1, yuv420p, 720x576, 768 kb/s, 30 fps, 30 tbr, 1k tbn
    Stream #0:1: Audio: mp3, 22050 Hz, mono, fltp, 56 kb/s
It's 30MB. I'll re-encode 30 seconds of it into x264/mp3, if you need a push.
Code:
url="https://rediscoveringthebible.com/Creation.flv"

ffmpeg -t 00:00:30 -i "$url" -c:a copy -c:v libx264 -crf 18 -preset slow -s 720x576 test.mp4

ffprobe test.mp4
...
  Duration: 00:00:30.02, start: 0.000000, bitrate: 667 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576, 604 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: mp3 (mp4a / 0x6134706D), 22050 Hz, mono, fltp, 56 kb/s (default)
'''

Last edited by teckk; 10-23-2020 at 08:16 AM.
 
Old 10-26-2020, 03:47 PM   #11
billquinn
Member
 
Registered: May 2005
Posts: 46

Original Poster
Rep: Reputation: 1
Thanks guys, and sorry for the delay.

Since the Web site "https://rediscoveringthebible.com" works with the later JW Player as shown above, I removed the previous SWFObject and put JW Player in each of the music pages of "https://messiahstudies.org". Now that Web site works like "https://rediscoveringthebible.com."

The JW Player I have was downloaded by me in the year 2012 and used in "https://rediscoveringthebible.com". It worked fine for a number of years. When a page with a song opened, the colored sheet that I chose for that song appeared in the square where the song would play. Clicking it played the song. However, eventually the newer versions of Firefox made the "black" fill that square. But it had a line "Run Abode Flash" in that black square that could be clicked to get my colored sheet back. The song could then be played as before.

So I now put that same 2012 JW Player in all the music pages of "https://messiahstudies.org". It works the same way "https://rediscoveringthebible.com" does. I'll soon also put JW Player in "https://southern-partisan.org".

Yes, I know the Web sites will still remain "OLD," but it was easy, and it still works. However, I'm still open to suggestions--maybe something to replace JW Player that is relatively just as easy!!

Thanks again.
 
Old 10-27-2020, 04:21 AM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,244

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I hold no candle for people who sell software. But you do realise that's a proprietary product, don't you? It's available now - at a price. Your 2012 copy must, I gather, have been acquired in a 'non kosher' fashion, something the license holder might not be amused at, or object to. I'm sure the good book would have something to say about that.
 
Old 10-27-2020, 03:10 PM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by billquinn View Post
However, I'm still open to suggestions--maybe something to replace JW Player that is relatively just as easy!!
https://www.w3schools.com/tags/tag_video.asp
 
Old 10-28-2020, 03:11 PM   #14
billquinn
Member
 
Registered: May 2005
Posts: 46

Original Poster
Rep: Reputation: 1
Thanks Ondoho. I brought up the page you recommended --

"https://www.w3schools.com/tags/tag_video.asp"

but this is what greeted me:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

"Your browser does not support the video tag"????? What's wrong? As I mentioned in my first post, my Firefox is the most recent release using yum: 78.3.0esr (32-bit).
 
Old 10-28-2020, 04:11 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,605

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by billquinn View Post
Thanks Ondoho. I brought up the page you recommended --

"https://www.w3schools.com/tags/tag_video.asp"

but this is what greeted me:

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

"Your browser does not support the video tag"????? What's wrong? As I mentioned in my first post, my Firefox is the most recent release using yum: 78.3.0esr (32-bit).
And as others have mentioned:
  • Flash is dead
  • Your browser is VERY old
  • CentOS 6 is similarly old and is end-of-life November (3 days from now)
  • CentOS 6 isn't getting updates, so your browser WILL NOT get updated via yum.
Update your system to a current OS and browser. Doesn't get simpler than that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless doesn't work all of a sudden laheen2 Linux - Wireless Networking 2 08-01-2011 11:13 PM
all of a sudden DHCP won't work mmcfly8888 Slackware 1 08-19-2008 12:54 AM
No sound (used to work, stopped working all of a sudden) tomj88 Debian 5 08-05-2005 03:21 PM
hard drive space all of sudden used up shelf_life20 Linux - Software 22 08-29-2004 01:33 PM
keyboard doesn't work all of a sudden mary Linux - Hardware 1 08-10-2004 12:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration