mediaelement-plugins
mediaelement-plugins copied to clipboard
Fixing playlist behavior when track ends
This should both fix the issues https://github.com/mediaelement/mediaelement-plugins/issues/225 and https://github.com/mediaelement/mediaelement-plugins/issues/223
Means it properly detects the end of the playlist (since the currentPlaylistItem starts with 0) and it properly sets the Source-URL of the PlaylistItem, and not the whole object as new player source (same as it is done for prev/next buttons).