code: function assurePlaybackState(play) {
      if (play && !this.embed.hasPlayed) {
          this.embed.hasPlayed = true;
      }
      if (this.media.paused === play) {
          this.media.paused = !play;
          triggerEvent.call(this, this.media, play ? 'play' : 'pause');
      }
  }
docs: Set playback state and trigger change (only on actual change)