bigscreen-player 10.10.0 → 10.10.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/{embeddedsubtitles-d785ea5b.js → embeddedsubtitles-0d050d77.js} +1 -1
- package/dist/esm/{imscsubtitles-22c3a63c.js → imscsubtitles-1d539e5b.js} +1 -1
- package/dist/esm/{legacysubtitles-f5474c24.js → legacysubtitles-510fd60c.js} +1 -1
- package/dist/esm/{main-fddfacb4.js → main-a0e94520.js} +5 -5
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-9ad78747.js → msestrategy-aadab5c7.js} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fromXML, generateISD, renderHTML } from 'smp-imsc';
|
|
2
|
-
import { U as Utils, a as DebugTool, P as Plugins, D as DOMHelpers } from './main-
|
|
2
|
+
import { U as Utils, a as DebugTool, P as Plugins, D as DOMHelpers } from './main-a0e94520.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
function EmbeddedSubtitles(mediaPlayer, autoStart, parentElement, _mediaSources, defaultStyleOpts) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { fromXML, generateISD, renderHTML } from 'smp-imsc';
|
|
2
|
-
import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-
|
|
2
|
+
import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-a0e94520.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
const SEGMENTS_BUFFER_SIZE = 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-a0e94520.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -5710,7 +5710,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
|
|
|
5710
5710
|
function StrategyPicker() {
|
|
5711
5711
|
return new Promise((resolve, reject) => {
|
|
5712
5712
|
if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
|
|
5713
|
-
return import('./msestrategy-
|
|
5713
|
+
return import('./msestrategy-aadab5c7.js')
|
|
5714
5714
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5715
5715
|
.catch((reason) => {
|
|
5716
5716
|
const error = new Error(isError(reason) ? reason.message : undefined);
|
|
@@ -6499,7 +6499,7 @@ const PauseTriggers = {
|
|
|
6499
6499
|
DEVICE: 3,
|
|
6500
6500
|
};
|
|
6501
6501
|
|
|
6502
|
-
var Version = "10.10.
|
|
6502
|
+
var Version = "10.10.1";
|
|
6503
6503
|
|
|
6504
6504
|
/* eslint-disable no-use-before-define */
|
|
6505
6505
|
|
|
@@ -7685,7 +7685,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7685
7685
|
|
|
7686
7686
|
if (available()) {
|
|
7687
7687
|
if (useLegacySubs) {
|
|
7688
|
-
import('./legacysubtitles-
|
|
7688
|
+
import('./legacysubtitles-510fd60c.js')
|
|
7689
7689
|
.then(({ default: LegacySubtitles }) => {
|
|
7690
7690
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7691
7691
|
callback(subtitlesEnabled);
|
|
@@ -7694,7 +7694,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7694
7694
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7695
7695
|
});
|
|
7696
7696
|
} else if (embeddedSubs) {
|
|
7697
|
-
import('./embeddedsubtitles-
|
|
7697
|
+
import('./embeddedsubtitles-0d050d77.js')
|
|
7698
7698
|
.then(({ default: EmbeddedSubtitles }) => {
|
|
7699
7699
|
subtitlesContainer = EmbeddedSubtitles(
|
|
7700
7700
|
mediaPlayer,
|
|
@@ -7709,7 +7709,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7709
7709
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7710
7710
|
});
|
|
7711
7711
|
} else {
|
|
7712
|
-
import('./imscsubtitles-
|
|
7712
|
+
import('./imscsubtitles-1d539e5b.js')
|
|
7713
7713
|
.then(({ default: IMSCSubtitles }) => {
|
|
7714
7714
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7715
7715
|
callback(subtitlesEnabled);
|
package/dist/esm/main.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, b as LiveSupport, c as ManifestType, M as MediaKinds, d as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, k as Timeline, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, l as isMessage, m as isMetric, n as isTrace } from './main-
|
|
1
|
+
export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, b as LiveSupport, c as ManifestType, M as MediaKinds, d as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, k as Timeline, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, l as isMessage, m as isMetric, n as isTrace } from './main-a0e94520.js';
|
|
2
2
|
import 'tslib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaPlayer } from 'dashjs/index';
|
|
2
|
-
import { U as Utils, M as MediaKinds, b as LiveSupport, a as DebugTool, c as ManifestType, P as Plugins, d as MediaState, e as autoResumeAtStartOfRange, D as DOMHelpers } from './main-
|
|
2
|
+
import { U as Utils, M as MediaKinds, b as LiveSupport, a as DebugTool, c as ManifestType, P as Plugins, d as MediaState, e as autoResumeAtStartOfRange, D as DOMHelpers } from './main-a0e94520.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
function filter(manifest, representationOptions) {
|
|
@@ -1124,7 +1124,7 @@ function MSEStrategy(
|
|
|
1124
1124
|
|
|
1125
1125
|
function onPlaybackFrozen(event) {
|
|
1126
1126
|
Plugins.interface.onPlaybackFrozen(event);
|
|
1127
|
-
DebugTool.
|
|
1127
|
+
DebugTool.info(`${event.cause}. Total frames - ${event.totalVideoFrames}`);
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
return {
|