UNPKG

xgplayer-dash

Version:
21 lines (20 loc) 851 B
import { inherits as _inherits, createSuper as _createSuper, classCallCheck as _classCallCheck, createClass as _createClass } from "./_virtual/_rollupPluginBabelHelpers.js"; import { Errors } from "xgplayer"; import { version } from "./package.js"; console.log("version", version); var _Errors = /* @__PURE__ */ function(_Errors2) { _inherits(_Errors3, _Errors2); var _super = _createSuper(_Errors3); function _Errors3(type, vid) { var _this; var errd = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}; var url = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ""; _classCallCheck(this, _Errors3); errd.version = version; _this = _super.call(this, type, vid, errd); _this.url = url; return _this; } return _createClass(_Errors3); }(Errors); export { _Errors as default };