jplayer is great and has everything except an option to play the next song automatically..
please add this feature..plz
so we don't have to click the next button to play the next song and we can easily enjoy the playlist..
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 0001-Issue-1161216-by-ericduran-Fixed-Play-next-song-auto.patch | 3.4 KB | ericduran |
Comments
Comment #1
emmajane commentedThe demo on the jplayer Web site does autoadvance to the next item in the play list. I consider this a bug that the Drupal version doesn't do the same.
Comment #2
brycesenz commentedsubscribing
Comment #3
deviantintegral commentedThere's a couple issues here that are compounding this. This is a bug unique to the 7.x-2.x branch, as the jPlayer library doesn't actually handle the playlist even though their site demos one.
First, make sure that in your display settings for the audio field you have "All" selected as the repeat setting. It's pretty confusing, so at the least that should be improved.
Second, you could be running an older copy of the jPlayer library. If so, when you select all, it will skip two tracks at a time.
From the jPlayer release notes:
Finally, the way the repeat process is set up means that when you get to the end of a playlist, it loops back to the beginning. This might not be the desired behaviour, but I think it's safe to call that a separate feature request.
Comment #4
deviantintegral commentedNow that I look at it, I'm not sure of the best way to restructure the Repeat option. I think something like this should work:
Any other ideas?
Comment #5
logo007 commentedamazing ideas.. Will wait for them to become a reality :)
Comment #6
blazetrack commentedIt's possible set an option to play entire playlist on press play button, and stops player on last song of playlist? I'm interested in this feature but I don't know how to do it.
Comment #7
scito> An option for controlling repeats for single players. It would be a simple checkbox, to either repeat or not.
I would prefer this solution because it seems simpler.
Playing the next song and repeating are important features for player with playlists.
Comment #8
Jongo-1 commentedVery interested in resolution. Is there a work around? Subscribing.
Comment #9
ericduran commentedHere's a patch to fix this.
List of what this patch does:
- Creates a new "Continuous Play" option.
- Only show the "Continuous Play" when the playlist mode is selected.
- The JS looks for this option, and if it finds it, it attaches itself to the ended event. It fires the next option when the ended event is fired.
- This also makes sure the playNext event does get fired if the file is the last item in the playlist. In this case you can use the repeat option instead.
Comment #10
ericduran commentedComment #11
deviantintegral commentedWith Firefox, I see the player visually move to the next track, but playback still stops. If I hit play manually it does start the second track.
Comment #12
deviantintegral commentedI've pushed up a few commits as well as the patch from #10. This should be fixed in the dev branch as of 92ba71e.
Comment #14
webadpro commentedThis should get added in the views section also.