I tried to search the example of audio playlist in mediaelement.js. But i found none, is mediaelement.js supports audio playlist? If so, please kindly support me the sample code or links. Thank you very much.
相关问题
- mediaelement.js — Video Scaling Options (e.g. '
- Stopping instead of rewinding at the end of a vide
- Using multiple audio.js playlist players on the sa
- video is not playing in IE8 by mediaelement.js
- Shuffle Playlist fix for Youtube API
相关文章
- How to Create a Playlist
- What is proper way to specify relative path to fil
- Videos no longer streaming with mediaelement.js in
- In Visual Studio Test, how to make a playlist whic
- youtube api playlistitems deleted videos
- Why YouTube JavaScript Player API open a different
- Querying Playlist from MediaStore
- How to make a video fullscreen when it is placed i
Nope, no playlist. If you looking for player that has one, check here: http://praegnanz.de/html5video/ Also, you can easy make playlist simply by using mediaelementjs JavaScript API. It is pretty simple task, IMO there is no need for extra support for that.
I managed to get a super basic (read: hacky) demo of a playlist working in a WordPress theme I’ve got going. All you have to do is setup multiple media elements using a set of IDs, a class or in this case the
<audio>
tag.Then you can use JS to see when a player has ended (stopped playing music) and run some basic conditionals to see which player is playing, what player should play next and if there is no next player, start over from the beginning. Again this is very hacky, but it seems to be working for me.
HTML:
JavaScript: