jquery.videoBG icon indicating copy to clipboard operation
jquery.videoBG copied to clipboard

Use load() instead of play() for looping

Open andi opened this issue 11 years ago • 1 comments

Looping (either done by loop attribute or the event handler from this source code) in Chrome only works if the content is served with "partial content request".

If we replace the play() method by load(), it works. Tested on Chrome, FF and Safari.

andi avatar Jun 19 '13 08:06 andi

I had this same issue. Chrome on MacBook Pro will never loop the video, just stops. I switched out play() with load() in jquery.videoBG.js:200 and it worked for me.

I haven't tested this in other browsers yet to see if anything broke.

skplunkerin avatar Aug 30 '14 00:08 skplunkerin