code: function ready() {
  	  var _this3 = this;
  
  	  return new Promise(function (resolve) {
  	    return _this3.ready ? setTimeout(resolve, 0) : on.call(_this3, _this3.elements.container, 'ready', resolve);
  	  }).then(function () {});
  	}
docs: Run method when / if player is ready