Forum Moderators: open

Message Too Old, No Replies

Please Help Website Audio Player

         

mrcountry47

10:30 pm on Dec 30, 2019 (gmt 0)

5+ Year Member



Can someone please help. I had a website built for my mom a few years back and i have just noticed that the Jplayer audio player isn't working anymore, when going to the page it says that " Adobe Flash Player Is Blocked " I am just trying to figure out if there is a simple way to correct this. I really don't know much about this, I have tried to research on Google but haven't found anything to correct this. I would just like it to play on different browsers if possible. [snip] tell me if it might be able to be corrected fairly easy. I would greatly appreciate any help with this.

[edited by: phranque at 12:51 am (utc) on Dec 31, 2019]
[edit reason] please see ToS [webmasterworld.com] [/edit]

phranque

1:17 am on Dec 31, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], mrcountry47!

jplayer should be able to detect if flash player isn't available.
i would verify that you are actually using jdplayer on that page rather than an embedded flash player.
i would also check for any javascript errors on your browser's error console. perhaps there is a problem with jplayer or an underlying script and the flash player is a fallback solution.

you might want to check some of these previous threads regarding flash:
Mozilla Kills Default Support for Adobe Flash in Firefox 69 (January, 2019) [webmasterworld.com]
It's official: Adobe to kill Flash Player, end support by 2020 (July, 2017) [webmasterworld.com]

tangor

1:45 am on Dec 31, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Howdy @mrcountry47!

Today's browsers are much more capable re: audio than the "old days", provided you stick with industry standard audio formats.

lucy24

1:58 am on Dec 31, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



when going to the page it says that "Adobe Flash Player Is Blocked"
Yes, that's what most browsers do by default. What does the page say when you enable Flash player? (On at least one major browser, you now have to do this over again every time you visit the site. But you shouldn't have to reload the page to change the setting.)

Does the page put up this message immediately, or only when you click on whatever it is you have to click in order to start the music?

tangor

7:39 am on Dec 31, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If I haven't missed something along the way ... convert the swf (or whatever) to mp3/4 or even avi and not worry about things. As for the rest of the web, you won't find flash any longer.

mrcountry47

1:34 pm on Dec 31, 2019 (gmt 0)

5+ Year Member



im sorry folks, the other site has the jplayer that is working correctly. Im so sorry about the misinformation, its actually flash/musicplayer1.swf

document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="301" height="212">');
document.write('<param name="movie" value="flash/musicplayer1.swf?playlist=playlist1.php" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<embed src="flash/musicplayer1.swf?playlist=playlist1.php" quality="high" wmode="transparent"');
document.write('pluginspage="http://www.macromedia.com/go/getflashplayer"');
document.write('type="application/x-shockwave-flash" width="301" height="212">');
document.write('</embed></object>');


The audio files are MP3, the player is a Flash MP3 player. I guess i just need to try and find another player that is pretty easy to set up in Dreamweaver. Can anyone recommend a free or low cost audio player. i want the music to automatically play when clicking on song title. I just cant find anything on the internet to fix the issue. Thanks

topr8

2:01 pm on Dec 31, 2019 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



you don't need a player any more ... just use mp3 files and use html5 audio .... virtually all browsers support it and have done for a while ..
[caniuse.com...]

[edited by: topr8 at 2:02 pm (utc) on Dec 31, 2019]

not2easy

2:01 pm on Dec 31, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



IF the html that Dreamweaver produces is html5 then there is a simple answer, but I somehow doubt that it is building html5 files and outputting that flash player code in the same file. What is the Doctype shown at the very top of the page? Have you considered updating the site to use html5?

Then all you would need is to paste something like:
 <audio controls>
<source src="music.mp3" type="audio/mpeg">
</audio>
into your page where that old code is shown.

Yes, that would mean translating the old Dreamweaver page/site into html5 which it doesn't appear as part of what you had in mind.

mrcountry47

2:10 pm on Dec 31, 2019 (gmt 0)

5+ Year Member



<!DOCTYPE html>

My nephew put this together for us and now it has been thrown at me. I'm trying real hard to figure it out, but to be honest its whooping me. Thanks so much for the help, i'm greatly appreciative for any help.

not2easy

2:20 pm on Dec 31, 2019 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



That is the Doctype for html5 so give it a try. One addition is that it is a nice thing to add some text before the closing </audio> for people whose browsers might be old, something like "Sorry your browser does not support this audio file" and you will need to edit the file name to represent your .mp3 file's name and its location. as shown, it would only support the file if everything is in the same (probably root) directory. If the .mp3 file is in some other place you would need "/foldername/filename.mp3" for that to work.

mrcountry47

2:34 pm on Dec 31, 2019 (gmt 0)

5+ Year Member



I will give it a shot thanks so much for the help