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, and guarding on #226 fixes the same two things via a |
Now the function used after video reaches end sets only the url as a source for fetching, not the whole object.
Also the function now stops at the correct index.