Taperssection.com
Gear / Technical Help => Post-Processing, Computer / Streaming / Internet Devices & Related Activity => Topic started by: Chuck on July 09, 2016, 11:12:40 AM
-
I've had a blog for a while and was using the old Yahoo player to stream MP3's of my recordings from my site: http://www.timebetweenthenotes.com/audio.html
For some reason it isn't working anymore. The player doesn't pop up when a link is selected. All I want to do is have a player pop and and play my MP3 links. I have all the MP3 files stored on my site too. I do my own maintenance on the site, but I really don't know how to do this right. I don't make any money on the site, so I can't afford a music service with a monthly fee.
To make the Yahoo player work, all I had to do was put the file: player-beta.js in my public folder and add this line of code
<script src="http://www.timebetweenthenotes.com/player-beta.js" type=
"text/javascript"></script>
in the body of my page and the player popped up whenever an MP3 link was clicked.
Do any of you know of a free player that will do this? ...and have the patience to show me how to make it work on my site. :)
-
That JavaScript file contains some references to files on yahoo.com servers. I suppose modern browsers block these URLs from being executed as JavaScript to protect against cross-site scripting attacks (https://en.wikipedia.org/wiki/Cross-site_scripting).
A modern alternative would be HTML5's audio player support: http://www.w3schools.com/html/html5_audio.asp
-
PM sent.