Skip to content

Commit

Permalink
Improve autoplay
Browse files Browse the repository at this point in the history
  • Loading branch information
brunnolou committed Dec 19, 2017
1 parent d051568 commit b1bd2a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ $(function() {
);

setTimeout(function() {
videojs(id).ready(function() {
videojs(id, { "autoplay": true }).ready(function() {
this.play();
});
}, 100);
}, 200);
};

function autoCheck(callback) {
Expand Down

0 comments on commit b1bd2a0

Please sign in to comment.