type.updateBuffered = function(e) {
  var loaded = 0
  for (var i = 0; i < this.player.buffered.length; i++) {
    loaded += (this.player.buffered.end(i) - this.player.buffered.start(i))
  }
  var percent = 0
  if (this.player.duration) {
    percent = loaded / this.player.duration * 100
  }
}

VideoPlayer.prototype.onTimeUpdate = function() {
  var self = this
  var player = this.player

  var reportProgress = function(seeking) {
    if (seeking) {
      seeking = 1;
    } else {
      seeking = 0;
    }
 