text: import MediaBaseViewer from './MediaBaseViewer';
  import './MP3.scss';
  
  const CSS_CLASS_MP3 = 'bp-media-mp3';
  
  class MP3Viewer extends MediaBaseViewer {
      /**
       * @inheritdoc
       */
      setup() {
          // Call super() to set up common layout
          super.setup();
  
          // mp3 specific class
          this.wrapperEl.classList.add(CSS_CLASS_MP3);
  
          // Audio element
          this.mediaEl = this.mediaContainerEl.appendChild(document.createElement('audio'));
          this.mediaEl.setAttribute('preload', 'auto');
      }
  
      /**
       * Loads the controls
       *
       * @private
       * @return {void}
       */
      loadUI() {
          super.loadUI();
          this.mediaControls.show();
          this.mediaControls.resizeTimeScrubber();
      }
  }
  
  export default MP3Viewer;
  