Hello
I help maintain a online radio station and your Media Player runs perfect for this. The Auto play functions correctly.
Our problem is that currently the radio goes offline sometimes... and we need an audio file to play when the radio is offline.
We add the shoutCAST radio URL 1st so that it the first thing to autoplay... but when it goes off, we want the (next #2) media to play.
With simple HTML5 and our browsers this is possible with the following:
- Code: Select all
<audio controls="controls" autoplay="autoplay" loop="loop" preload="metadata">
<source src="http://162.210.196.142:_radio_url/>
<source src="/media/some_music_file.mp3">
</audio>
Can we make it possible for the media player to skip to #2 file when #1 is missing or offline?
edit: Yes this is assuming if the user only refreshes the page or visits for the first time and the radio is off
already, only then the next fie can be played.
Thank you