BigVideo.js
BigVideo.js copied to clipboard
Safari 7.1 breaks loop option?
Can anyone confirm that video looping has been affected by the recent Safari 7.1 update?
It looks like it's playing once and then stopping. My config:
var BV = new $.BigVideo({useFlashForFirefox: false});
var videoUrl = '/video/video.mp4';
var altVideoUrl = '/video/video.webm';
BV.init();
BV.show([
{ type: "video/mp4", src: videoUrl },
{ type: "video/webm", src: altVideoUrl }
],
{ doLoop: true });
Yes, same here.
I got it to work by adding parameter loop:true in line 278 like so:
player = videojs(vidEl.substr(1), {
controls:false,
autoplay:true,
preload:'auto',
loop: true,
techOrder:videoTechOrder
});
and when initializing bigvideo then doLoop: true
That solved it, thank you for sharing @liinavaker.
Worked for me too. Thanks! @liinavaker