Jump to content

keep user's selection through pages


garevn

Recommended Posts

Hello i have a simple audio player like this

<audio autoplay="autoplay" loop="loop" controls="controls" class="audio"><source src="/site/Music/song.mp3" type="audio/mp3"/></audio>

And i dont want when the user switch pages the song restart or stop

Link to comment
Share on other sites

hm ok thats an idea. but i am not sure if it is what i want. i was thinking that the player is like at the right up side and if the user pause it for example it wont restard at any case,If i use pop up and the user close it then he should refresh the page to find it again or something

Link to comment
Share on other sites

IF you switch to different pages where it involves loading of that page, you can't as far as i know store the place on where that track was paused, and show it at that exact spot on loading again. IF the player is fixed to right, and the content only changes through use of ajax for example, the player will remain as is, at same spot, else the only other option would be popup it still remain the same, where paused etc, remains displayed, which should be doable, and only is removed from sight when user closes it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...