Skip to content

Commit

Permalink
Scope reconnectOnError option to the tech, not the player
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Flateau committed Sep 11, 2014
1 parent e6d4bf9 commit 28b53eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/videojs-osmf-controller.js
Expand Up @@ -186,7 +186,7 @@ videojs.Osmf.prototype.streamStatus = function() {
err = 'srcnotfound';
}

if (player.options_.reconnectOnError && !player.tech.reconnecting_){
if (player.tech.options_.reconnectOnError && !player.tech.reconnecting_){
player.tech.reconnecting_ = true;
player.trigger("waiting");
setTimeout(function(){
Expand Down

0 comments on commit 28b53eb

Please sign in to comment.