Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
amiznikov committed Jan 19, 2021
1 parent 9ded1b3 commit 9996ed8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/hls.light.js
Expand Up @@ -1027,8 +1027,8 @@ var hlsDefaultConfig = _objectSpread(_objectSpread({
subtitleStreamController: false ? undefined : undefined,
subtitleTrackController: false ? undefined : undefined,
timelineController: false ? undefined : undefined,
audioStreamController: false ? undefined : undefined,
audioTrackController: false ? undefined : undefined,
audioStreamController: true ? _controller_audio_stream_controller__WEBPACK_IMPORTED_MODULE_1__["default"] : undefined,
audioTrackController: true ? _controller_audio_track_controller__WEBPACK_IMPORTED_MODULE_2__["default"] : undefined,
emeController: false ? undefined : undefined
});

Expand Down
2 changes: 1 addition & 1 deletion dist/hls.light.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.light.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/hls.light.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions webpack.config.js
Expand Up @@ -8,14 +8,14 @@ const importHelper = require('@babel/helper-module-imports');
const env = process.env;

const addSubtitleSupport = !!env.SUBTITLE || !!env.USE_SUBTITLES;
const addAltAudioSupport = !!env.ALT_AUDIO || !!env.USE_ALT_AUDIO;
const addAltAudioSupport = true;
const addEMESupport = !!env.EME_DRM || !!env.USE_EME_DRM;

const createDefinePlugin = (type) => {
const buildConstants = {
__VERSION__: JSON.stringify(pkgJson.version),
__USE_SUBTITLES__: JSON.stringify(type === 'main' || addSubtitleSupport),
__USE_ALT_AUDIO__: JSON.stringify(type === 'main' || addAltAudioSupport),
__USE_ALT_AUDIO__: true,
__USE_EME_DRM__: JSON.stringify(type === 'main' || addEMESupport),
};
return new webpack.DefinePlugin(buildConstants);
Expand Down

0 comments on commit 9996ed8

Please sign in to comment.