text: /**
   * libvorbis plugin for videojs-record
   * @version 2.1.1
   * @see https://github.com/collab-project/videojs-record
   * @copyright 2014-2018 Collab
   * @license MIT
   */
  (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.libvorbis = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){
  "use strict";function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(exports,"__esModule",{value:!0});var _createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),RecordEngine=videojs.getComponent("RecordEngine"),LibVorbisEngine=function(e){function t(){return _classCallCheck(this,t),_possibleConstructorReturn(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return _inherits(t,RecordEngine),_createClass(t,[{key:"setup",value:function(e,t,n){this.inputStream=e,this.mediaType=t,this.debug=n,this.options={audioBitsPerSecond:32e3}}},{key:"start",value:function(){this.chunks=[],this.engine=new VorbisMediaRecorder(this.inputStream,this.options),this.engine.ondataavailable=this.onData.bind(this),this.engine.onstop=this.onRecordingAvailable.bind(this),this.engine.start()}},{key:"stop",value:function(){this.engine.stop()}},{key:"onData",value:function(e){this.chunks.push(e.data)}},{key:"onRecordingAvailable",value:function(){var e=new Blob(this.chunks,{type:this.chunks[0].type});this.chunks=[],this.onStopRecording(e)}}]),t}();videojs.LibVorbisEngine=LibVorbisEngine,exports["default"]=LibVorbisEngine;
  
  },{}]},{},[1])(1)
  });