demo/dist/demo.js
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 () {});
	}
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 () {});
	}
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 ( ) { } ) ; }
Run method when / if player is ready
Run method when / if player is ready