Just found a "pre-solution":
* Open https://tiddlywiki.com/static/Audio.html
* Right click on the page -> Inspect element -> open Console tab
* Paste this code and press Enter:
var players = document.getElementsByTagName('audio');
for(var i=0; i < players.length; i++) {
players[i].nextPlayer = players[i+1];
players[i].addEventListener('ended', function() {
this.nextPlayer.play();
});
}
// After the last song, jump to the first (repeat)
players[players.length-1].nextPlayer = players[0];
* Start the first audio
* When it ends, second is started
I'm sure I will do this as a plugin, or if Jeromlene is interested in it,
it will be a pull request.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/f3b18620-94ac-403c-a599-5f27d550e15c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.