demo/dist/demo.js
function togglePlay(input) {
	      // Toggle based on current state if nothing passed
	      var toggle = is$1.boolean(input) ? input : !this.playing;

	      if (toggle) {
	        this.play();
	      } else {
	        this.pause();
	      }
	    }
function togglePlay(input) {
	      // Toggle based on current state if nothing passed
	      var toggle = is$1.boolean(input) ? input : !this.playing;

	      if (toggle) {
	        this.play();
	      } else {
	        this.pause();
	      }
	    }
Toggle playback based on current status
@param {Boolean} input