garevn Posted September 9, 2012 Share Posted September 9, 2012 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 More sharing options...
dsonesuk Posted September 9, 2012 Share Posted September 9, 2012 What if you open it in a popup window, which will stay open and playing, while they switch pages, until they close the actual popup itself. Link to comment Share on other sites More sharing options...
garevn Posted September 9, 2012 Author Share Posted September 9, 2012 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 More sharing options...
garevn Posted September 9, 2012 Author Share Posted September 9, 2012 A friend suggest to use a simple frame but i am not sure if it will look like what i want, i will work on them i suppose Link to comment Share on other sites More sharing options...
dsonesuk Posted September 9, 2012 Share Posted September 9, 2012 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now