async function playTo(endSeconds, timeoutSeconds) {
    await waiter.waitUntilPlayheadReachesOrFailOnTimeout(
        video, endSeconds, timeoutSeconds);
  }
@param {number} endSeconds
@param {number} timeoutSeconds
@return {!Promise}