bigscreen-player 10.12.0 → 10.12.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.
@@ -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-52f08c0c.js';
2
+ import { U as Utils, a as DebugTool, P as Plugins, D as DOMHelpers } from './main-18bbfd16.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-52f08c0c.js';
2
+ import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-18bbfd16.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-52f08c0c.js';
1
+ import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-18bbfd16.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-8d0d678c.js')
5713
+ return import('./msestrategy-cc632a55.js')
5714
5714
  .then(({ default: MSEStrategy }) => resolve(MSEStrategy))
5715
5715
  .catch((reason) => {
5716
5716
  const error = new Error(isError(reason) ? reason.message : undefined);
@@ -6080,7 +6080,6 @@ function PlayerComponent(
6080
6080
  mediaSources,
6081
6081
  mediaKind,
6082
6082
  playbackElement,
6083
- abortSignal,
6084
6083
  bigscreenPlayerData.media.isUHD,
6085
6084
  bigscreenPlayerData.media.playerSettings,
6086
6085
  {
@@ -6509,7 +6508,7 @@ const PauseTriggers = {
6509
6508
  DEVICE: 3,
6510
6509
  };
6511
6510
 
6512
- var Version = "10.12.0";
6511
+ var Version = "10.12.2";
6513
6512
 
6514
6513
  /* eslint-disable no-use-before-define */
6515
6514
 
@@ -7695,7 +7694,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7695
7694
 
7696
7695
  if (available()) {
7697
7696
  if (useLegacySubs) {
7698
- import('./legacysubtitles-ed885f09.js')
7697
+ import('./legacysubtitles-2c317da3.js')
7699
7698
  .then(({ default: LegacySubtitles }) => {
7700
7699
  subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7701
7700
  callback(subtitlesEnabled);
@@ -7704,7 +7703,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7704
7703
  Plugins.interface.onSubtitlesDynamicLoadError();
7705
7704
  });
7706
7705
  } else if (embeddedSubs) {
7707
- import('./embeddedsubtitles-1e9ec72f.js')
7706
+ import('./embeddedsubtitles-a53d1f7e.js')
7708
7707
  .then(({ default: EmbeddedSubtitles }) => {
7709
7708
  subtitlesContainer = EmbeddedSubtitles(
7710
7709
  mediaPlayer,
@@ -7719,7 +7718,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7719
7718
  Plugins.interface.onSubtitlesDynamicLoadError();
7720
7719
  });
7721
7720
  } else {
7722
- import('./imscsubtitles-eeba00ac.js')
7721
+ import('./imscsubtitles-8515b60a.js')
7723
7722
  .then(({ default: IMSCSubtitles }) => {
7724
7723
  subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7725
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-52f08c0c.js';
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-18bbfd16.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-52f08c0c.js';
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-18bbfd16.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.0",
3
+ "version": "10.12.2",
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-12",
67
+ "dashjs": "github:bbc/dash.js#smp-v4.7.3-13",
68
68
  "smp-imsc": "github:bbc/imscJS#v1.0.3"
69
69
  },
70
70
  "repository": {