BigVideo.js icon indicating copy to clipboard operation
BigVideo.js copied to clipboard

Why don't you use video.js loop option ?

Open johnraz opened this issue 12 years ago • 3 comments

Hi! I was wondering why you don't use the loop option (https://github.com/videojs/video.js/blob/v4.3.0/docs/guides/options.md#loop) of video.js instead of listening to the ended event and moving the frame to the start manually ? Is there any reason ?

johnraz avatar Dec 03 '13 11:12 johnraz

+1 I'd like to know the reason for this. Seems like the video gets reloaded from cache every loop, if you look in the network panel.

oliversong avatar Jan 17 '14 08:01 oliversong

Agree. I think it's possible this is what's causing the loader to reappear each time.

mcblum avatar Aug 06 '14 19:08 mcblum

On this example page, I can see via the network tab in devtools that there is no reload: http://dfcb.github.io/BigVideo.js/example-ambient.html

I had a branch where I was using the Video.js loop setting and there seemed to be a larger delay between loops. I do accept pull requests if somebody wants to try to improve looping - try branching off the gh-pages branch and implementing there.

johnpolacek avatar Aug 07 '14 13:08 johnpolacek