extensions/amp-story/1.0/amp-story-page.js
/**
   * Builds and appends a message and icon to indicate a video error state.
   * @private
   */
Builds and appends a message and icon to indicate a video error state.
@private
Builds and appends a message and icon to indicate a video error state . @private
buildAndAppendErrorMessage_() {
    this.errorMessageEl_ = renderErrorMessageElement();
    const labelEl = this.errorMessageEl_.querySelector(
      '.i-amphtml-story-page-error-label'
    );
    labelEl.textContent = localize(
      this.element,
      LocalizedStringId_Enum.AMP_STORY_PAGE_ERROR_VIDEO
    );
    this.mutateElement(() => this.element.appendChild(this.errorMessageEl_));
  }
buildAndAppendErrorMessage_ ( ) { this . errorMessageEl_ = renderErrorMessageElement ( ) ; const labelEl = this . errorMessageEl_ . querySelector ( '.i-amphtml-story-page-error-label' ) ; labelEl . textContent = localize ( this . element , LocalizedStringId_Enum . AMP_STORY_PAGE_ERROR_VIDEO ) ; this . mutateElement ( ( ) => this . element . appendChild ( this . errorMessageEl_ ) ) ; }
Builds and appends a message and icon to indicate a video error state.
Builds and appends a message and icon to indicate a video error state .