bigscreen-player 8.4.2 → 8.4.3
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-3c8a6f17.js → imscsubtitles-34bd2461.js} +1 -1
- package/dist/esm/{legacysubtitles-a417014a.js → legacysubtitles-4273318c.js} +1 -1
- package/dist/esm/{main-3fb68b6f.js → main-8bfe1a34.js} +5 -5
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-2a46df0e.js → msestrategy-4cebcb48.js} +1 -1
- 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-8bfe1a34.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-8bfe1a34.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Safely checks if an attribute exists on an element.
|
|
@@ -252,7 +252,7 @@ function callOnAllPlugins(funcKey, evt) {
|
|
|
252
252
|
const clonedEvent = Utils.deepClone(evt);
|
|
253
253
|
const selectedPlugins = plugins
|
|
254
254
|
.filter((plugin) => plugin[funcKey] && typeof plugin[funcKey] === "function")
|
|
255
|
-
.map((plugin) => plugin[funcKey]);
|
|
255
|
+
.map((plugin) => plugin[funcKey].bind(plugin));
|
|
256
256
|
|
|
257
257
|
CallCallbacks(selectedPlugins, clonedEvent);
|
|
258
258
|
}
|
|
@@ -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-4cebcb48.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.4.
|
|
6386
|
+
var Version = "8.4.3";
|
|
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-4273318c.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-34bd2461.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, 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, k as isMessage, l as isMetric, m as isTrace } from './main-
|
|
1
|
+
export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, 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, k as isMessage, l as isMetric, m as isTrace } from './main-8bfe1a34.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, a as DebugToolInstance, M as MediaState, 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, a as DebugToolInstance, M as MediaState, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-8bfe1a34.js';
|
|
3
3
|
|
|
4
4
|
function filter(manifest, representationOptions) {
|
|
5
5
|
const constantFps = representationOptions.constantFps;
|