Skip to content

Commit

Permalink
fix: let the tech preload auto on its own
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonocasey committed Jan 5, 2018
1 parent baf0982 commit 4d06efc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2471,11 +2471,7 @@ class Player extends Component {
this.techCall_('src', source.src);
}

if (this.options_.preload === 'auto') {
this.load();
}

// Set the source synchronously if possible (#2326)
// Set the source synchronously if possible (#2326)
}, true);

return false;
Expand Down

0 comments on commit 4d06efc

Please sign in to comment.