bigscreen-player 10.12.2 → 10.12.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/{embeddedsubtitles-a53d1f7e.js → embeddedsubtitles-04b776a6.js} +1 -1
- package/dist/esm/{imscsubtitles-8515b60a.js → imscsubtitles-b5d025c8.js} +1 -1
- package/dist/esm/{legacysubtitles-2c317da3.js → legacysubtitles-11a20eb4.js} +1 -1
- package/dist/esm/{main-18bbfd16.js → main-9fb52303.js} +5 -5
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-cc632a55.js → msestrategy-80c734fe.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-9fb52303.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-9fb52303.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-9fb52303.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-80c734fe.js')
|
|
5714
5714
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5715
5715
|
.catch((reason) => {
|
|
5716
5716
|
const error = new Error(isError(reason) ? reason.message : undefined);
|
|
@@ -6508,7 +6508,7 @@ const PauseTriggers = {
|
|
|
6508
6508
|
DEVICE: 3,
|
|
6509
6509
|
};
|
|
6510
6510
|
|
|
6511
|
-
var Version = "10.12.
|
|
6511
|
+
var Version = "10.12.3";
|
|
6512
6512
|
|
|
6513
6513
|
/* eslint-disable no-use-before-define */
|
|
6514
6514
|
|
|
@@ -7694,7 +7694,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7694
7694
|
|
|
7695
7695
|
if (available()) {
|
|
7696
7696
|
if (useLegacySubs) {
|
|
7697
|
-
import('./legacysubtitles-
|
|
7697
|
+
import('./legacysubtitles-11a20eb4.js')
|
|
7698
7698
|
.then(({ default: LegacySubtitles }) => {
|
|
7699
7699
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7700
7700
|
callback(subtitlesEnabled);
|
|
@@ -7703,7 +7703,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7703
7703
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7704
7704
|
});
|
|
7705
7705
|
} else if (embeddedSubs) {
|
|
7706
|
-
import('./embeddedsubtitles-
|
|
7706
|
+
import('./embeddedsubtitles-04b776a6.js')
|
|
7707
7707
|
.then(({ default: EmbeddedSubtitles }) => {
|
|
7708
7708
|
subtitlesContainer = EmbeddedSubtitles(
|
|
7709
7709
|
mediaPlayer,
|
|
@@ -7718,7 +7718,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7718
7718
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7719
7719
|
});
|
|
7720
7720
|
} else {
|
|
7721
|
-
import('./imscsubtitles-
|
|
7721
|
+
import('./imscsubtitles-b5d025c8.js')
|
|
7722
7722
|
.then(({ default: IMSCSubtitles }) => {
|
|
7723
7723
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7724
7724
|
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-9fb52303.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-9fb52303.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.12.
|
|
3
|
+
"version": "10.12.3",
|
|
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-14",
|
|
68
68
|
"smp-imsc": "github:bbc/imscJS#v1.0.3"
|
|
69
69
|
},
|
|
70
70
|
"repository": {
|