WebSite X5Help Center

 
Roeland H.
Roeland H.
User

Audio won't stop at end of song  en

Author: Roeland H.
Visited 1435, Followers 1, Shared 0  

When people play audio on my website, the audio continous playing. Why doesn't the music stop at the end of a song?

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Little-key .
Little-key .
User

loop: "true" = automatic playback
You can this not deactivate.

Alternative:

HTML5-Player in a HTML/Widget:

(<audio controls preload="auto" autobuffer>)
(<source src="music/20_Flight-Rock-(live).mp3" />)
(<source src="<span>music/</span></span></i></span><i><span><span class="ff2 cf5 fs20">20_Flight-Rock-(live)
.ogg" />)
(<source src="<span>music/</span><span><span class="ff2 cf5 fs20">20_Flight-Rock-(live).wav" />)
(<p>Your Browser is not compatible with this HTML5 Audio.<p />)
(</audio>)

(Code is here not correct, does not go here, see my link)

Do not use spaces in the files.

HTML5 player is browser standard, you need 3 types of files for all Browser.

Example:
http://www.x5forum.home-wiekau.de/audioplayer_html5.php

Read more
Posted on the from Little-key .
Roeland H.
Roeland H.
User
Author

Thanks a million!

Read more
Posted on the from Roeland H.