diff --git a/src/js/media/html5.js b/src/js/media/html5.js index 19df475b7..ffa2214ee 100644 --- a/src/js/media/html5.js +++ b/src/js/media/html5.js @@ -25,7 +25,7 @@ vjs.Html5 = vjs.MediaTechController.extend({ this['fullscreenResizeFeature'] = true; // HTML video supports progress events - this.features['progressEvents'] = true; + this['progressEventsFeature'] = true; vjs.MediaTechController.call(this, player, options, ready); this.setupTriggers(); diff --git a/src/js/media/media.js b/src/js/media/media.js index 1a6414f76..6d261fa82 100644 --- a/src/js/media/media.js +++ b/src/js/media/media.js @@ -19,12 +19,12 @@ vjs.MediaTechController = vjs.Component.extend({ vjs.Component.call(this, player, options, ready); // Manually track progress in cases where the browser/flash player doesn't report it. - if (!this.features['progressEvents']) { + if (!this['progressEventsFeature']) { this.manualProgressOn(); } // Manually track timeudpates in cases where the browser/flash player doesn't report it. - if (!this.features['timeupdateEvents']) { + if (!this['timeupdateEventsFeature']) { this.manualTimeUpdatesOn(); } @@ -210,7 +210,7 @@ vjs.MediaTechController.prototype.manualTimeUpdatesOn = function(){ // Watch for native timeupdate event this.one('timeupdate', function(){ // Update known progress support for this playback technology - this.features['timeupdateEvents'] = true; + this['timeupdateEventsFeature'] = true; // Turn off manual progress tracking this.manualTimeUpdatesOff(); });