You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this plugin isn't support any more, I thought I'd just write what I did to fix this autoplay issue (even if it is too late to help you guys out, hopefully someone else will be able to use this fix).
In the jquery.videoBG.js file on line 274, there is a conditional there to check for browser support for videos. If videos are supported by the browser, then the video autoplays even when the autoplay option is set to false.
On line 274, change: if ($.fn.videoBG.supportsVideo()) {
to this: if ($.fn.videoBG.supportsVideo() && options.autoplay) {
setting
autoplay: false
doesn't prevent video from playing as soon as loaded,The text was updated successfully, but these errors were encountered: