extensions/amp-story/1.0/amp-story-page.js
/**
   * Builds and appends a message and icon to play the story on tap.
   * This message is built when the playback failed (data saver, low battery
   * modes, ...).
   * @private
   */
Builds and appends a message and icon to play the story on tap.
This message is built when the playback failed (data saver, low battery
modes, ...).
@private
Builds and appends a message and icon to play the story on tap . This message is built when the playback failed ( data saver low battery modes ... ) . @private
buildAndAppendPlayMessage_() {
    this.playMessageEl_ = renderPlayMessageElement(this.element, () => {
      this.togglePlayMessage_(false);
      this.startMeasuringAllVideoPerformance_();
      this.mediaPoolPromise_
        .then((mediaPool) => mediaPool.blessAll())
        .then(() => this.playAllMedia_());
    });
    this.mutateElement(() => this.element.appendChild(this.playMessageEl_));
  }
buildAndAppendPlayMessage_ ( ) { this . playMessageEl_ = renderPlayMessageElement ( this . element , ( ) => { this . togglePlayMessage_ ( false ) ; this . startMeasuringAllVideoPerformance_ ( ) ; this . mediaPoolPromise_ . then ( ( mediaPool ) => mediaPool . blessAll ( ) ) . then ( ( ) => this . playAllMedia_ ( ) ) ; } ) ; this . mutateElement ( ( ) => this . element . appendChild ( this . playMessageEl_ ) ) ; }
Builds and appends a message and icon to play the story on tap.
Builds and appends a message and icon to play the story on tap .