diff --git a/src/js/control-bar/live-display.js b/src/js/control-bar/live-display.js index 6a9e6658e6..d9ad2ec0db 100644 --- a/src/js/control-bar/live-display.js +++ b/src/js/control-bar/live-display.js @@ -8,8 +8,6 @@ vjs.LiveDisplay = vjs.Component.extend({ init: function(player, options){ vjs.Component.call(this, player, options); - - player.on('loadstart', vjs.bind(this, this.updateContent)); } }); @@ -28,17 +26,3 @@ vjs.LiveDisplay.prototype.createEl = function(){ return el; }; - -vjs.LiveDisplay.prototype.updateContent = function(){ - - // Most Live streams, like RTMP, will report a duration value of -1 - // HLS Live report window.INFINITY - - /* - if (player.duration() < 0 || player.duration() === window.INFINITY) { - this.show(); - } else { - this.hide(); - } - */ -}; \ No newline at end of file