style="width: 100%; height: 100%; position: absolute;"><' + '/iframe></div>';
  } else {
    var code = '<div' + ' style="width: 100%; height: 0px; position: relative; padding-bottom: ' + padding + '%;"><' + 'iframe src="' + window.location + '" frameborder="0" width="100%" height="100%" allowfullscreen style="width: 100%; height: 100%; position: absolute;"><' + '/iframe></div>';
  }
  copyTextToClipboard(code);
}

VideoPlayer.prototype.onProgress = function(e) {
  this.updateBuffered()
}

VideoPlayer.proto