From d69f357c18da16506218171bf3aa2977e4a16d62 Mon Sep 17 00:00:00 2001 From: Matt Osborn Date: Wed, 25 Jun 2014 10:10:21 +0100 Subject: [PATCH] dispose tech after turning event bindings off --- src/js/player.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/player.js b/src/js/player.js index cb6798943c..caa2e5d59d 100644 --- a/src/js/player.js +++ b/src/js/player.js @@ -290,13 +290,14 @@ vjs.Player.prototype.loadTech = function(techName, source){ vjs.Player.prototype.unloadTech = function(){ this.isReady_ = false; - this.tech.dispose(); // Turn off any manual progress or timeupdate tracking if (this.manualProgress) { this.manualProgressOff(); } if (this.manualTimeUpdates) { this.manualTimeUpdatesOff(); } + this.tech.dispose(); + this.tech = false; };