bigscreen-player 8.5.3 → 8.5.4
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-a357bd97.js → imscsubtitles-5f4a2d7a.js} +1 -1
- package/dist/esm/{legacysubtitles-6385d593.js → legacysubtitles-2e973ecc.js} +1 -1
- package/dist/esm/{main-e0985aeb.js → main-c6cf6064.js} +4 -4
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-f60acf3b.js → msestrategy-c20548b5.js} +4 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fromXML, generateISD, renderHTML } from 'smp-imsc';
|
|
2
|
-
import { f as findSegmentTemplate, L as LoadUrl, a as DebugToolInstance, P as Plugins, U as Utils, D as DOMHelpers } from './main-
|
|
2
|
+
import { f as findSegmentTemplate, L as LoadUrl, a as DebugToolInstance, P as Plugins, U as Utils, D as DOMHelpers } from './main-c6cf6064.js';
|
|
3
3
|
|
|
4
4
|
const SEGMENTS_BUFFER_SIZE = 3;
|
|
5
5
|
const LOAD_ERROR_COUNT_MAX = 3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DOMHelpers, a as DebugToolInstance, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-
|
|
1
|
+
import { D as DOMHelpers, a as DebugToolInstance, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-c6cf6064.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Safely checks if an attribute exists on an element.
|
|
@@ -5960,7 +5960,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
|
|
|
5960
5960
|
function StrategyPicker() {
|
|
5961
5961
|
return new Promise((resolve, reject) => {
|
|
5962
5962
|
if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
|
|
5963
|
-
return import('./msestrategy-
|
|
5963
|
+
return import('./msestrategy-c20548b5.js')
|
|
5964
5964
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5965
5965
|
.catch(() => {
|
|
5966
5966
|
reject({ error: "strategyDynamicLoadError" });
|
|
@@ -6383,7 +6383,7 @@ const PauseTriggers = {
|
|
|
6383
6383
|
DEVICE: 3,
|
|
6384
6384
|
};
|
|
6385
6385
|
|
|
6386
|
-
var Version = "8.5.
|
|
6386
|
+
var Version = "8.5.4";
|
|
6387
6387
|
|
|
6388
6388
|
var sourceList;
|
|
6389
6389
|
var source;
|
|
@@ -7734,7 +7734,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7734
7734
|
|
|
7735
7735
|
if (available()) {
|
|
7736
7736
|
if (useLegacySubs) {
|
|
7737
|
-
import('./legacysubtitles-
|
|
7737
|
+
import('./legacysubtitles-2e973ecc.js')
|
|
7738
7738
|
.then(({ default: LegacySubtitles }) => {
|
|
7739
7739
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7740
7740
|
callback(subtitlesEnabled);
|
|
@@ -7743,7 +7743,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7743
7743
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7744
7744
|
});
|
|
7745
7745
|
} else {
|
|
7746
|
-
import('./imscsubtitles-
|
|
7746
|
+
import('./imscsubtitles-5f4a2d7a.js')
|
|
7747
7747
|
.then(({ default: IMSCSubtitles }) => {
|
|
7748
7748
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7749
7749
|
callback(subtitlesEnabled);
|
package/dist/esm/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, c as LiveSupport, d as MediaKinds, M as MediaState, h as MockBigscreenPlayer, b as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, k as isMessage, l as isMetric, m as isTrace } from './main-
|
|
1
|
+
export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, c as LiveSupport, d as MediaKinds, M as MediaState, h as MockBigscreenPlayer, b as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, k as isMessage, l as isMetric, m as isTrace } from './main-c6cf6064.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaPlayer } from 'dashjs/index_mediaplayerOnly';
|
|
2
|
-
import { W as WindowTypes, U as Utils, D as DOMHelpers, b as PauseTriggers, c as LiveSupport, a as DebugToolInstance, M as MediaState, P as Plugins, d as MediaKinds, e as TimeUtils, g as DynamicWindowUtils } from './main-
|
|
2
|
+
import { W as WindowTypes, U as Utils, D as DOMHelpers, b as PauseTriggers, c as LiveSupport, a as DebugToolInstance, M as MediaState, P as Plugins, d as MediaKinds, e as TimeUtils, g as DynamicWindowUtils } from './main-c6cf6064.js';
|
|
3
3
|
|
|
4
4
|
function filter(manifest, representationOptions) {
|
|
5
5
|
const constantFps = representationOptions.constantFps;
|
|
@@ -373,8 +373,9 @@ function MSEStrategy(mediaSources, windowType, mediaKind, playbackElement, isUHD
|
|
|
373
373
|
|
|
374
374
|
// Don't raise an error on fragment download error
|
|
375
375
|
if (
|
|
376
|
-
event.error.code === DashJSEvents.DOWNLOAD_CONTENT_ERROR_CODE ||
|
|
377
|
-
|
|
376
|
+
(event.error.code === DashJSEvents.DOWNLOAD_CONTENT_ERROR_CODE ||
|
|
377
|
+
event.error.code === DashJSEvents.DOWNLOAD_INIT_SEGMENT_ERROR_CODE) &&
|
|
378
|
+
mediaSources.availableSources().length > 1
|
|
378
379
|
) {
|
|
379
380
|
return
|
|
380
381
|
}
|