bigscreen-player 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/{imscsubtitles-65c7604e.js → imscsubtitles-877e0855.js} +1 -1
- package/dist/esm/{legacysubtitles-e0e55e63.js → legacysubtitles-7669e1ee.js} +1 -1
- package/dist/esm/{main-ab590038.js → main-4a6519a8.js} +5 -5
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-223ded9f.js → msestrategy-df1ab5e2.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fromXML, generateISD, renderHTML } from 'smp-imsc';
|
|
2
|
-
import { b as TimeUtils, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-
|
|
2
|
+
import { b as TimeUtils, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-4a6519a8.js';
|
|
3
3
|
|
|
4
4
|
function IMSCSubtitles (mediaPlayer, autoStart, parentElement, mediaSources, defaultStyleOpts) {
|
|
5
5
|
const SEGMENTS_TO_KEEP = 3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-
|
|
1
|
+
import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-4a6519a8.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Safely checks if an attribute exists on an element.
|
|
@@ -5673,12 +5673,12 @@ function StrategyPicker (windowType, isUHD) {
|
|
|
5673
5673
|
return resolve(NativeStrategy)
|
|
5674
5674
|
}
|
|
5675
5675
|
|
|
5676
|
-
return import('./msestrategy-
|
|
5676
|
+
return import('./msestrategy-df1ab5e2.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
|
|
5677
5677
|
.catch(() => {
|
|
5678
5678
|
reject({error: 'strategyDynamicLoadError'});
|
|
5679
5679
|
})
|
|
5680
5680
|
} else if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
|
|
5681
|
-
return import('./msestrategy-
|
|
5681
|
+
return import('./msestrategy-df1ab5e2.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
|
|
5682
5682
|
.catch(() => {
|
|
5683
5683
|
reject({error: 'strategyDynamicLoadError'});
|
|
5684
5684
|
})
|
|
@@ -6058,7 +6058,7 @@ function CallCallbacks (callbacks, data) {
|
|
|
6058
6058
|
callbacks.forEach((callback) => DeferExceptions(() => callback(data)));
|
|
6059
6059
|
}
|
|
6060
6060
|
|
|
6061
|
-
var version = "5.2.
|
|
6061
|
+
var version = "5.2.2";
|
|
6062
6062
|
|
|
6063
6063
|
var sourceList;
|
|
6064
6064
|
var source;
|
|
@@ -7244,14 +7244,14 @@ function Subtitles (mediaPlayer, autoStart, playbackElement, defaultStyleOpts, m
|
|
|
7244
7244
|
let subtitlesContainer;
|
|
7245
7245
|
|
|
7246
7246
|
if (useLegacySubs) {
|
|
7247
|
-
import('./legacysubtitles-
|
|
7247
|
+
import('./legacysubtitles-7669e1ee.js').then(({default: LegacySubtitles}) => {
|
|
7248
7248
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7249
7249
|
callback(subtitlesEnabled);
|
|
7250
7250
|
}).catch(() => {
|
|
7251
7251
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7252
7252
|
});
|
|
7253
7253
|
} else {
|
|
7254
|
-
import('./imscsubtitles-
|
|
7254
|
+
import('./imscsubtitles-877e0855.js').then(({default: IMSCSubtitles}) => {
|
|
7255
7255
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7256
7256
|
callback(subtitlesEnabled);
|
|
7257
7257
|
}).catch(() => {
|
package/dist/esm/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BigscreenPlayer, c as LiveSupport, d as MediaKinds, M as MediaState, f as MockBigscreenPlayer, g as PauseTriggers, h as PlaybackStrategy, i as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-
|
|
1
|
+
export { B as BigscreenPlayer, c as LiveSupport, d as MediaKinds, M as MediaState, f as MockBigscreenPlayer, g as PauseTriggers, h as PlaybackStrategy, i as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-4a6519a8.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DOMHelpers, W as WindowTypes, c as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, d as MediaKinds, U as Utils, b as TimeUtils, e as DynamicWindowUtils } from './main-
|
|
1
|
+
import { D as DOMHelpers, W as WindowTypes, c as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, d as MediaKinds, U as Utils, b as TimeUtils, e as DynamicWindowUtils } from './main-4a6519a8.js';
|
|
2
2
|
import { MediaPlayer } from 'dashjs/index_mediaplayerOnly';
|
|
3
3
|
|
|
4
4
|
function filter (manifest, representationOptions) {
|