-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pause in Playlist #574
Comments
@weinc1 the playlist feature was created with the assumption that a playlist, by definition, is a list of media that are intended to be played continuously in sequence, like a record album. Is your desire to pause between tracks from the standpoint of an author or user?
|
Thanks for the reply. A couple of quick answers.
By way of example there is a "simple" playlist that default to a paused stated after each selection. It works great...except it is nowhere near as caption friendly as ableplayer. The code though seems to be easy...but I could find no where to place anything similar into ableplayer. The "xxx" would be the player name...say "able". And obviously I am only showing you the code related to the "autoplay" "auto_load" is what it is... controls.querySelector('.xxx-plause').disabled = xxx_auto_load ? true : false; And later if (xxx_auto_load || xxx_isPlaying) xxx_loadAudio(elem); and starting is: function xxx_startScript() { And finely: var xxx_config = ap_xxx.dataset.config ? JSON.parse(ap_xxx.dataset.config) : { |
For Able Player, I could add support for a new attribute data-playlist-continuous which could be added to the playlist element. It will need to be "true" by default since continuous play has always been the default behavior so it shouldn't be changed unexpectedly without authors having control. Any author who wants their playlist to pause between tracks will just need to add data-playlist-continuous="false" |
That would be great, |
The lack of an option to turn off autoplay in a playlist is driving me batty, Is there any code that be added? I know the "autoplay" option is it here but it does nothing for playlist. Thanks
The text was updated successfully, but these errors were encountered: