bigscreen-player 5.4.2 → 5.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.
@@ -1,5 +1,5 @@
1
1
  import { fromXML, generateISD, renderHTML } from 'smp-imsc';
2
- import { b as TimeUtils, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-5a3f2039.js';
2
+ import { b as TimeUtils, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-770cbf11.js';
3
3
 
4
4
  function IMSCSubtitles (mediaPlayer, autoStart, parentElement, mediaSources, defaultStyleOpts) {
5
5
  const SEGMENTS_TO_KEEP = 3;
@@ -1,4 +1,4 @@
1
- import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-5a3f2039.js';
1
+ import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-770cbf11.js';
2
2
 
3
3
  /**
4
4
  * Safely checks if an attribute exists on an element.
@@ -5711,12 +5711,12 @@ function StrategyPicker (windowType, isUHD) {
5711
5711
  return resolve(NativeStrategy)
5712
5712
  }
5713
5713
 
5714
- return import('./msestrategy-7485a9bd.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
5714
+ return import('./msestrategy-e6a1b199.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
5715
5715
  .catch(() => {
5716
5716
  reject({error: 'strategyDynamicLoadError'});
5717
5717
  })
5718
5718
  } else if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
5719
- return import('./msestrategy-7485a9bd.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
5719
+ return import('./msestrategy-e6a1b199.js').then(({default: MSEStrategy}) => resolve(MSEStrategy))
5720
5720
  .catch(() => {
5721
5721
  reject({error: 'strategyDynamicLoadError'});
5722
5722
  })
@@ -6096,7 +6096,7 @@ function CallCallbacks (callbacks, data) {
6096
6096
  callbacks.forEach((callback) => DeferExceptions(() => callback(data)));
6097
6097
  }
6098
6098
 
6099
- var version = "5.4.2";
6099
+ var version = "5.4.3";
6100
6100
 
6101
6101
  var sourceList;
6102
6102
  var source;
@@ -7282,14 +7282,14 @@ function Subtitles (mediaPlayer, autoStart, playbackElement, defaultStyleOpts, m
7282
7282
  let subtitlesContainer;
7283
7283
 
7284
7284
  if (useLegacySubs) {
7285
- import('./legacysubtitles-249d3851.js').then(({default: LegacySubtitles}) => {
7285
+ import('./legacysubtitles-1fc9bd4b.js').then(({default: LegacySubtitles}) => {
7286
7286
  subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7287
7287
  callback(subtitlesEnabled);
7288
7288
  }).catch(() => {
7289
7289
  Plugins.interface.onSubtitlesDynamicLoadError();
7290
7290
  });
7291
7291
  } else {
7292
- import('./imscsubtitles-f57c0961.js').then(({default: IMSCSubtitles}) => {
7292
+ import('./imscsubtitles-69e3fdef.js').then(({default: IMSCSubtitles}) => {
7293
7293
  subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7294
7294
  callback(subtitlesEnabled);
7295
7295
  }).catch(() => {
package/dist/esm/main.js CHANGED
@@ -1 +1 @@
1
- export { B as BigscreenPlayer, c as LiveSupport, d as MediaKinds, M as MediaState, f as MockBigscreenPlayer, g as PauseTriggers, h as PlaybackStrategy, i as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-5a3f2039.js';
1
+ export { B as BigscreenPlayer, c as LiveSupport, d as MediaKinds, M as MediaState, f as MockBigscreenPlayer, g as PauseTriggers, h as PlaybackStrategy, i as TransferFormat, T as TransportControlPosition, W as WindowTypes } from './main-770cbf11.js';
@@ -1,4 +1,4 @@
1
- import { D as DOMHelpers, W as WindowTypes, c as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, d as MediaKinds, U as Utils, b as TimeUtils, e as DynamicWindowUtils } from './main-5a3f2039.js';
1
+ import { D as DOMHelpers, W as WindowTypes, c as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, d as MediaKinds, U as Utils, b as TimeUtils, e as DynamicWindowUtils } from './main-770cbf11.js';
2
2
  import { MediaPlayer } from 'dashjs/index_mediaplayerOnly';
3
3
 
4
4
  function filter (manifest, representationOptions) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigscreen-player",
3
- "version": "5.4.2",
3
+ "version": "5.4.3",
4
4
  "description": "Simplified media playback for bigscreen devices.",
5
5
  "main": "dist/esm/main.js",
6
6
  "browser": "dist/esm/main.js",