开发者

How can I let a user navigate and play a playlist using the HTML5 <audio> tag?

开发者 https://www.devze.com 2023-04-10 12:28 出处:网络
I want to link a playlist with the <audio> element in HTML5, so that: When one song in the list ends, the next song starts automatically

I want to link a playlist with the <audio> element in HTML5, so that:

  • When one song in the list ends, the next song starts automatically
  • The user can switch to the next or previous song in the playlist

How can this be achieved through HTML5, JavaScript etc.? I'm using ASP.NET a开发者_JS百科t the backend.

Also, can I give user the liberty to play any song from his/her playlist alongside the audio player? My friend told me that it can be achieved by tweaking its DOM (Document Object Model). Please help how can it be achieved?


How about jQuery HTML5 Audio Player? http://www.jplayer.org/latest/demo-02/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号