By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,729 Members | 1,343 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,729 IT Pros & Developers. It's quick & easy.

Playing song in website

P: 2
i am trying to play music in my music website in php.The problem is occured when i reload other page music start form begining.How to play song continueoulsy in my websitge?
how to use ajax to solve this problem?

plase give me answer as soon as possible.

Thank you.. in advance....
Aug 12 '12 #1
Share this Question
Share on Google+
4 Replies


ariful alam
100+
P: 185
You may try to use HTML5 <audio></audio> tag.
Aug 12 '12 #2

gits
Expert Mod 5K+
P: 5,390
in case you embed a mediafile in a page and it starts playing and you reload that page or load another page, then the playback starts from the beginning in any case. you might use frames to avoid this and embed the media-file in the parent frame, that then shouldn't be reloaded. you might even use ajax-techniques to avoid complete page-loads and load only specific parts of a page and replace some nodes in the current page if you dont want to use frames as described.
Aug 13 '12 #3

P: 2
Thank you so much..
but i don't know more knowledge about AJAX. I want to use ajax in my website and implement this.Plese tell me how use AJAX in my website to slove above problem....
Aug 16 '12 #4

ariful alam
100+
P: 185
start your learning of AJAX here -> http://www.w3schools.com/ajax
Aug 16 '12 #5

Post your reply

Sign in to post your reply or Sign up for a free account.