bigscreen-player 8.1.0 → 8.1.1
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-5ee33ae8.js → imscsubtitles-858ac78a.js} +1 -1
- package/dist/esm/{legacysubtitles-458efe63.js → legacysubtitles-1ce68fc3.js} +1 -1
- package/dist/esm/{main-5a50cb54.js → main-e01b5eb1.js} +4 -4
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-6686009c.js → msestrategy-87cffc69.js} +2 -2
- 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-e01b5eb1.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-e01b5eb1.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Safely checks if an attribute exists on an element.
|
|
@@ -5797,7 +5797,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
|
|
|
5797
5797
|
function StrategyPicker() {
|
|
5798
5798
|
return new Promise((resolve, reject) => {
|
|
5799
5799
|
if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
|
|
5800
|
-
return import('./msestrategy-
|
|
5800
|
+
return import('./msestrategy-87cffc69.js')
|
|
5801
5801
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5802
5802
|
.catch(() => {
|
|
5803
5803
|
reject({ error: "strategyDynamicLoadError" });
|
|
@@ -6246,7 +6246,7 @@ function CallCallbacks(callbacks, data) {
|
|
|
6246
6246
|
}
|
|
6247
6247
|
}
|
|
6248
6248
|
|
|
6249
|
-
var version = "8.1.
|
|
6249
|
+
var version = "8.1.1";
|
|
6250
6250
|
|
|
6251
6251
|
var sourceList;
|
|
6252
6252
|
var source;
|
|
@@ -7638,7 +7638,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7638
7638
|
|
|
7639
7639
|
if (available()) {
|
|
7640
7640
|
if (useLegacySubs) {
|
|
7641
|
-
import('./legacysubtitles-
|
|
7641
|
+
import('./legacysubtitles-1ce68fc3.js')
|
|
7642
7642
|
.then(({ default: LegacySubtitles }) => {
|
|
7643
7643
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7644
7644
|
callback(subtitlesEnabled);
|
|
@@ -7647,7 +7647,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7647
7647
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7648
7648
|
});
|
|
7649
7649
|
} else {
|
|
7650
|
-
import('./imscsubtitles-
|
|
7650
|
+
import('./imscsubtitles-858ac78a.js')
|
|
7651
7651
|
.then(({ default: IMSCSubtitles }) => {
|
|
7652
7652
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7653
7653
|
callback(subtitlesEnabled);
|
package/dist/esm/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { B as BigscreenPlayer, b as LiveSupport, c as MediaKinds, M as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-
|
|
1
|
+
export { B as BigscreenPlayer, b as LiveSupport, c as MediaKinds, M as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-e01b5eb1.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 LiveSupport, M as MediaState, a as DebugToolInstance, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-
|
|
2
|
+
import { W as WindowTypes, U as Utils, D as DOMHelpers, b as LiveSupport, M as MediaState, a as DebugToolInstance, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-e01b5eb1.js';
|
|
3
3
|
|
|
4
4
|
function filter(manifest, representationOptions) {
|
|
5
5
|
const constantFps = representationOptions.constantFps;
|
|
@@ -334,7 +334,7 @@ function MSEStrategy(mediaSources, windowType, mediaKind, playbackElement, isUHD
|
|
|
334
334
|
// therefore it should actually be `criticalBufferLevel * 1.25` to see what the buffer size was on the device when this happened.
|
|
335
335
|
const bufferLevel = event.criticalBufferLevel * 1.25;
|
|
336
336
|
DebugToolInstance.info(`Quota Exceeded at: ${event.quotaExceededTime}, criticalBufferLevel: ${bufferLevel}`);
|
|
337
|
-
Plugins.interface.onQuotaExceeded({ criticalBufferLevel: bufferLevel,
|
|
337
|
+
Plugins.interface.onQuotaExceeded({ criticalBufferLevel: bufferLevel, quotaExceededTime: event.quotaExceededTime });
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
function manifestDownloadError(mediaError) {
|