Playing song in website

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • niyati555
    New Member
    • Aug 2012
    • 2

    #1

    Playing song in website

    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....
  • ariful alam
    New Member
    • Jan 2011
    • 185

    #2
    You may try to use HTML5 <audio></audio> tag.

    Comment

    • gits
      Recognized Expert Moderator Expert
      • May 2007
      • 5390

      #3
      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.

      Comment

      • niyati555
        New Member
        • Aug 2012
        • 2

        #4
        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....

        Comment

        • ariful alam
          New Member
          • Jan 2011
          • 185

          #5
          start your learning of AJAX here -> http://www.w3schools.c om/ajax

          Comment

          Working...