addSourceBuffer(type) {
    let parsedType = parseContentType(type);
    let sourceBuffer;

    // if this is an FLV type, we'll push data to flash
    if (parsedType.type === 'video/mp2t' || parsedType.type === 'audio/mp2t') {
      // Flash source buffers
      sourceBuffer = new FlashSourceBuffer(this);
    } else {
      throw new Error('NotSupportedError (Video.js)');
    }

    this.sourceBuffers.push(sourceBuffer);
    return sourceBuffer;
  }
/**
   * Create a new flash source buffer and add it to our flash media source.
   *
   * @link https://developer.mozilla.org/en-US/docs/Web/API/MediaSource/addSourceBuffer
   * @param {String} type the content-type of the source
   * @return {Object} the flash source buffer
   */
Create a new flash source buffer and add it to our flash media source.
Create a new flash source buffer and add it to our flash media source .
addSourceBuffer(type) {
    let parsedType = parseContentType(type);
    let sourceBuffer;
    if (parsedType.type === 'video/mp2t' || parsedType.type === 'audio/mp2t') {
      sourceBuffer = new FlashSourceBuffer(this);
    } else {
      throw new Error('NotSupportedError (Video.js)');
    }
    this.sourceBuffers.push(sourceBuffer);
    return sourceBuffer;
  }
addSourceBuffer ( type ) { let parsedType = parseContentType ( type ) ; let sourceBuffer ; if ( parsedType . type === 'video/mp2t' || parsedType . type === 'audio/mp2t' ) { sourceBuffer = new FlashSourceBuffer ( this ) ; } else { throw new Error ( 'NotSupportedError (Video.js)' ) ; } this . sourceBuffers . push ( sourceBuffer ) ; return sourceBuffer ; }
Create a new flash source buffer and add it to our flash media source.
Create a new flash source buffer and add it to our flash media source .
// if this is an FLV type, we'll push data to flash // Flash source buffers