bigscreen-player 10.8.0 → 10.9.0
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-efe6f201.js → embeddedsubtitles-66f62312.js} +1 -1
- package/dist/esm/{imscsubtitles-c3476099.js → imscsubtitles-f8638d1e.js} +1 -1
- package/dist/esm/{legacysubtitles-6662f9a2.js → legacysubtitles-e4148847.js} +1 -1
- package/dist/esm/{main-ef17ad77.js → main-d017b2de.js} +5 -5
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-3ea59685.js → msestrategy-2c72248d.js} +1 -1
- package/package.json +2 -2
|
@@ -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-d017b2de.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-d017b2de.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-d017b2de.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-2c72248d.js')
|
|
5714
5714
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5715
5715
|
.catch((reason) => {
|
|
5716
5716
|
const error = new Error(isError(reason) ? reason.message : undefined);
|
|
@@ -6498,7 +6498,7 @@ const PauseTriggers = {
|
|
|
6498
6498
|
DEVICE: 3,
|
|
6499
6499
|
};
|
|
6500
6500
|
|
|
6501
|
-
var Version = "10.
|
|
6501
|
+
var Version = "10.9.0";
|
|
6502
6502
|
|
|
6503
6503
|
/* eslint-disable no-use-before-define */
|
|
6504
6504
|
|
|
@@ -7684,7 +7684,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7684
7684
|
|
|
7685
7685
|
if (available()) {
|
|
7686
7686
|
if (useLegacySubs) {
|
|
7687
|
-
import('./legacysubtitles-
|
|
7687
|
+
import('./legacysubtitles-e4148847.js')
|
|
7688
7688
|
.then(({ default: LegacySubtitles }) => {
|
|
7689
7689
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7690
7690
|
callback(subtitlesEnabled);
|
|
@@ -7693,7 +7693,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7693
7693
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7694
7694
|
});
|
|
7695
7695
|
} else if (embeddedSubs) {
|
|
7696
|
-
import('./embeddedsubtitles-
|
|
7696
|
+
import('./embeddedsubtitles-66f62312.js')
|
|
7697
7697
|
.then(({ default: EmbeddedSubtitles }) => {
|
|
7698
7698
|
subtitlesContainer = EmbeddedSubtitles(
|
|
7699
7699
|
mediaPlayer,
|
|
@@ -7708,7 +7708,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7708
7708
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7709
7709
|
});
|
|
7710
7710
|
} else {
|
|
7711
|
-
import('./imscsubtitles-
|
|
7711
|
+
import('./imscsubtitles-f8638d1e.js')
|
|
7712
7712
|
.then(({ default: IMSCSubtitles }) => {
|
|
7713
7713
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7714
7714
|
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-d017b2de.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, P as Plugins, c as ManifestType, 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, P as Plugins, c as ManifestType, d as MediaState, e as autoResumeAtStartOfRange, D as DOMHelpers } from './main-d017b2de.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
function filter(manifest, representationOptions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bigscreen-player",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Simplified media playback for bigscreen devices.",
|
|
6
6
|
"main": "dist/esm/main.js",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"typescript-eslint": "^7.2.0"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"dashjs": "github:bbc/dash.js#smp-v4.7.3-
|
|
67
|
+
"dashjs": "github:bbc/dash.js#smp-v4.7.3-8",
|
|
68
68
|
"smp-imsc": "github:bbc/imscJS#v1.0.3"
|
|
69
69
|
},
|
|
70
70
|
"repository": {
|