videojs/videojs-contrib-ads — pull request #34 by bclwhitaker (2014-08-18 17:34:22+00:00)
Title: Rely on player.ended() to prevent replay after postrolls.

Remove the snapshot.play property and check player.ended() to identify if we should trigger play() when restoring snapshots.

This avoids the debate around PR #32 which added a new state for content-ended. Feel free to close that PR if this option is preferred.