Repository navigation
Conversation
|
Reproduced on a 3-item video playlist built from The two lines involved are byte-identical in 5.0.0, in 5.1.0 and in current One detail I have not seen spelled out on #223 or #225, which explains why media = Object.keys(mediaFiles[0]).length > 2 ? mediaFiles[0] : mediaFiles[0].srcThree or more keys and the object is handed to the renderer. typeof value === 'object' && value.src ? value.src : valuebut Measured on the player, varying only the argument: And It also explains why the symptom reads as "the first item loops" rather than as Worth noting the plugin's own The separate off-by-one matters too: without the bound fix, the last item calls This PR fixes both defects. #260 does the same two things, guarding on Flagging the overlap so whoever reviews does not have to work out whether these |
This should both fix the issues #225 and #223
Means it properly detects the end of the playlist (since the
currentPlaylistItemstarts with0) 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).