0
My question is the following, I am "developing" a web radio, and my problem is this, when the user navigates the site he refresh the page and automatically the player stops playing, so my question is this, as I would do for this div
player does not update with the navigation on the site ?
<div id="player" class="align_left">
<div class="align overflow">
<div class="botao align_left">
<ul>
<li><button><i class="fa fa-play" aria-hidden="true" title="Play"></i></button></li>
<li><button><i class="fa fa-pause" aria-hidden="true" title="Pause"></i></button></li>
</ul>
</div>
<audio src="http://stm4.srvstm.com:19404/;" class="player align_left" autoplay="autoplay"></audio></div>
What I have is this, and a little stretch of CSS
, someone could give an example of how to do this ?
I think in this case you can do a Localstorage with javascript for right after refresh the audio back from where it left off
– hugocsl
would not have to do without updating anything? without stopping the audio ?
– goio
@hugocsl online radios already come back from where they left off, what I think he wants is a page not change, and within that same everything change to the new page... except the audio tag that contains the URL STREAM. I’ve seen several such systems (use AJAX), I’ll see the best solution and post the answer here.
– RpgBoss
Okay, that’s just what I need Rpgboss
– goio