Play the media, or play the advertisement (if they are not blocked)
function play() {
	      var _this2 = this;

	      if (!is$1.function(this.media.play)) {
	        return null;
	      } // Intecept play with ads


	      if (this.ads && this.ads.enabled) {
	        this.ads.managerPromise.then(function () {
	          return _this2.ads.play();
	        }).catch(function () {
	          return _this2.media.play();
	        });
	      } // Return the promise (for HTML5)


	      return this.media.play();
	    }