non-splash playlists loop (often omitting last clip) #181
Comments
Shorter demo: http://flowplayer.blacktrash.org/fp5/poster.html - repeats first clip of two. |
@nnarhinen - on iPad (iOS 6.0.1): when you seek forward within playlist clips, the play button sometimes stays put during the next clip. It also appears during the transition from one clip to another (but that's minor, and probably not fixable). |
I can still reproduce this in Chrome and Safari: |
http://example.flowplayer.org/bug/181.html should be fixed now (using the flowplayer-javascript-playlist.js version of player) |
@nnarhinen - looking good, yipiee ;-) |
@nnarhinen - now http://example.flowplayer.org/bug/181.html hangs in Firefox at end of 1st clip! |
And clicking the html elements has no effect. |
Is it using the javascript from my attempts to refactor the playlist code? https://github.com/flowplayer/flowplayer/blob/javascript-playlist/lib/ext/playlist.js#L54As 2013/2/25 Christian Ebert notifications@github.com
|
yes
Could it be that it just tries to load the mp4 (only one href Will try that. In case of an html setup, it should populate the playlist items |
Oh, so it did that with the "original" way? Ok gonna fix that. Didn't spot 2013/2/25 Christian Ebert notifications@github.com
|
I'm not a fan of the html setup ;-) and file name guessing schemes (which won't work with rtmp anyway) - but as we have it ... if you can convince @tipiirai to ditch the current setup, I won't vote against you ;-) |
Will add a JS config to that demo. |
@nnarhinen - done. The JS config works fine indeed. |
Hmm.. yes. It might be wise to create the anchors, maybe disable by some 2013/2/25 Christian Ebert notifications@github.com
|
The Flowplayer Flash playlist plugin in its "internal" deployment method (playlist given in config) does it via expandos. |
Ok so a1ad78b should fix this (now passes the string directly to load and doesn't try to be too smart). Should be already deployed to example.flowplayer.org for testing |
Oh I mean it should fix the stopping after first clip. The anchor creation is still undone, should maybe be moved to #65 (outside the scope of this issue) |
Whoops.. loops still (now the second clip..) |
Ok now I think I actually got it right.. :) |
@blacktrash ping, did you have time to test this? |
@nnarhinen - sorry, I really didn't have any time at all. I hope to get to it over the weekend. I can't see straight anymore, but a quick test of http://example.flowplayer.org/bug/181.html looks very good in Firefox. Functionality-wise it seems it's more or less there, UI-wise: the play button appears briefly during the transition from one playlist item to another, sometimes quite prominently. But don't get me wrong, it's definitely definitely progress. |
@nnarhinen - the JavaScript setup loops the playlist; perhaps you haven't handled |
@nnarhinen - the prev and next buttons do not work yet either. |
They did work earlier and the playlist didn't loop.. live demo?
|
@nnarhinen - the JavaScript setup here: http://example.flowplayer.org/bug/181.html - the HTML setup works now. |
Weird.. they were working previously :D gonna look at it 2013/3/3 Christian Ebert notifications@github.com
|
Also inserts the playlist straight after video tag to be consistent and not overflow the next and prev buttons. This refs #181
Should be fixed now. The playlist wasn't actually in an endless loop, it just looped it once. (It first created the playlist anchors and then looped through them and added them to the playlist..) The second problem actually is just a problem with the playlist css.. the playlist element overflowed the next and prev buttons and prevented clicking on them.. But I now insert the playlist element straight after the video tag to be consistent with the demo. This should be testable on example.flowplayer.org |
@nnarhinen - confirming the fix, great. |
Hmm.. why does firefox behave like that, is it a performance problem or? Is this behavior unacceptable for next release? |
My guess is that the play button becomes visible because FF answers to the first finish event - if the problem would belong to the next item we'd see the loading animation, no? Instead we see the a "replay" button for a short interval. Would be nice if you got an answer for #242 (comment) |
Unfortunately #242 doesn't seem to be the root to the problem, but it was a good guess. (which actually waits input from @tipiirai , I don't dare remove something I don't know why it has been added in the first place..) It is the first-frame that seems to show there and for some reason it takes time before the video is playable. :/ |
#295 created for the remaining issue. Gonna close this because it's not critical anymore and the original issue is resolved. |
As #58 is closed, quoting from #58 (comment)
However! When you are on the clip before the last one and search towards the end, it jumps over the last one and restarts where it should switch to the last one.
Depending on the last 2 clips, the list might also loop.
Demo: http://flowplayer.blacktrash.org/fp5/playlist.html
As mentioned in #58 playlists work near perfectly in a splash image setup, but now non-splash setups are broken in a different manner.
I will try to make a proposal to parse the playlist items on load into an array and avoid the
click()
to see whether this improves things.The text was updated successfully, but these errors were encountered: