bigscreen-player 9.0.1 → 9.0.2
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-b8963462.js → imscsubtitles-0d663dc5.js} +3 -2
- package/dist/esm/{legacysubtitles-8b0a08a1.js → legacysubtitles-70a5436b.js} +1 -1
- package/dist/esm/{main-8a205e0d.js → main-166a437e.js} +4 -4
- package/dist/esm/main.js +1 -1
- package/dist/esm/{msestrategy-a76abc62.js → msestrategy-7d9b39fa.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 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-166a437e.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
const SEGMENTS_BUFFER_SIZE = 3;
|
|
@@ -312,7 +312,8 @@ function IMSCSubtitles(mediaPlayer, autoStart, parentElement, mediaSources, defa
|
|
|
312
312
|
}
|
|
313
313
|
|
|
314
314
|
function isValidTime(time) {
|
|
315
|
-
|
|
315
|
+
// A newly loaded video element reports currentTime as 0
|
|
316
|
+
return time > 0
|
|
316
317
|
}
|
|
317
318
|
|
|
318
319
|
function getCurrentTime() {
|
|
@@ -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-166a437e.js';
|
|
2
2
|
import 'tslib';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -5668,7 +5668,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
|
|
|
5668
5668
|
function StrategyPicker() {
|
|
5669
5669
|
return new Promise((resolve, reject) => {
|
|
5670
5670
|
if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
|
|
5671
|
-
return import('./msestrategy-
|
|
5671
|
+
return import('./msestrategy-7d9b39fa.js')
|
|
5672
5672
|
.then(({ default: MSEStrategy }) => resolve(MSEStrategy))
|
|
5673
5673
|
.catch((reason) => {
|
|
5674
5674
|
const error = new Error(isError(reason) ? reason.message : undefined);
|
|
@@ -6356,7 +6356,7 @@ const PauseTriggers = {
|
|
|
6356
6356
|
DEVICE: 3,
|
|
6357
6357
|
};
|
|
6358
6358
|
|
|
6359
|
-
var Version = "9.0.
|
|
6359
|
+
var Version = "9.0.2";
|
|
6360
6360
|
|
|
6361
6361
|
/* eslint-disable no-use-before-define */
|
|
6362
6362
|
|
|
@@ -7513,7 +7513,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7513
7513
|
|
|
7514
7514
|
if (available()) {
|
|
7515
7515
|
if (useLegacySubs) {
|
|
7516
|
-
import('./legacysubtitles-
|
|
7516
|
+
import('./legacysubtitles-70a5436b.js')
|
|
7517
7517
|
.then(({ default: LegacySubtitles }) => {
|
|
7518
7518
|
subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7519
7519
|
callback(subtitlesEnabled);
|
|
@@ -7522,7 +7522,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
|
|
|
7522
7522
|
Plugins.interface.onSubtitlesDynamicLoadError();
|
|
7523
7523
|
});
|
|
7524
7524
|
} else {
|
|
7525
|
-
import('./imscsubtitles-
|
|
7525
|
+
import('./imscsubtitles-0d663dc5.js')
|
|
7526
7526
|
.then(({ default: IMSCSubtitles }) => {
|
|
7527
7527
|
subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
|
|
7528
7528
|
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-166a437e.js';
|
|
2
2
|
import 'tslib';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaPlayer } from 'dashjs/index_mediaplayerOnly';
|
|
2
|
-
import { U as Utils, b as LiveSupport, M as MediaKinds, a as DebugTool, c as ManifestType, d as MediaState, P as Plugins, e as autoResumeAtStartOfRange, D as DOMHelpers } from './main-
|
|
2
|
+
import { U as Utils, b as LiveSupport, M as MediaKinds, a as DebugTool, c as ManifestType, d as MediaState, P as Plugins, e as autoResumeAtStartOfRange, D as DOMHelpers } from './main-166a437e.js';
|
|
3
3
|
import 'tslib';
|
|
4
4
|
|
|
5
5
|
function filter(manifest, representationOptions) {
|