bigscreen-player 10.18.1 → 10.18.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-f1f29848.js';
2
+ import { U as Utils, a as DebugTool, P as Plugins, D as DOMHelpers } from './main-9a4a8d0d.js';
3
3
  import 'tslib';
4
4
 
5
5
  function EmbeddedSubtitles(mediaPlayer, parentElement, { autoStart = false, 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-f1f29848.js';
2
+ import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-9a4a8d0d.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-f1f29848.js';
1
+ import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-9a4a8d0d.js';
2
2
  import 'tslib';
3
3
 
4
4
  /**
@@ -627,7 +627,7 @@ class DebugViewController {
627
627
  if (data.total == null) {
628
628
  return null;
629
629
  }
630
- return `${((_g = data.dropped) !== null && _g !== void 0 ? _g : (0 / data.total) * 100).toFixed(2)}% dropped (${data.dropped}/${data.total})`;
630
+ return `${((((_g = data.dropped) !== null && _g !== void 0 ? _g : 0) / data.total) * 100).toFixed(2)}% dropped (${data.dropped}/${data.total})`;
631
631
  }
632
632
  return data.join(", ");
633
633
  }
@@ -5736,7 +5736,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
5736
5736
  function StrategyPicker() {
5737
5737
  return new Promise((resolve, reject) => {
5738
5738
  if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
5739
- return import('./msestrategy-4e8fc304.js')
5739
+ return import('./msestrategy-d83b4fae.js')
5740
5740
  .then(({ default: MSEStrategy }) => resolve(MSEStrategy))
5741
5741
  .catch((reason) => {
5742
5742
  const error = new Error(isError(reason) ? reason.message : undefined);
@@ -6570,7 +6570,7 @@ const PauseTriggers = {
6570
6570
  DEVICE: 3,
6571
6571
  };
6572
6572
 
6573
- var Version = "10.18.1";
6573
+ var Version = "10.18.2";
6574
6574
 
6575
6575
  /* eslint-disable no-use-before-define */
6576
6576
 
@@ -7762,7 +7762,7 @@ function Subtitles(
7762
7762
 
7763
7763
  if (available()) {
7764
7764
  if (useLegacySubs) {
7765
- import('./legacysubtitles-c8c607db.js')
7765
+ import('./legacysubtitles-93c4d399.js')
7766
7766
  .then(({ default: LegacySubtitles }) => {
7767
7767
  subtitlesContainer = LegacySubtitles(mediaPlayer, playbackElement, mediaSources, {
7768
7768
  alwaysOnTop,
@@ -7776,7 +7776,7 @@ function Subtitles(
7776
7776
  Plugins.interface.onSubtitlesDynamicLoadError();
7777
7777
  });
7778
7778
  } else if (embeddedSubs) {
7779
- import('./embeddedsubtitles-6b40d4bf.js')
7779
+ import('./embeddedsubtitles-7787b82d.js')
7780
7780
  .then(({ default: EmbeddedSubtitles }) => {
7781
7781
  subtitlesContainer = EmbeddedSubtitles(mediaPlayer, playbackElement, {
7782
7782
  autoStart,
@@ -7789,7 +7789,7 @@ function Subtitles(
7789
7789
  Plugins.interface.onSubtitlesDynamicLoadError();
7790
7790
  });
7791
7791
  } else {
7792
- import('./imscsubtitles-bae0566a.js')
7792
+ import('./imscsubtitles-dbab6019.js')
7793
7793
  .then(({ default: IMSCSubtitles }) => {
7794
7794
  subtitlesContainer = IMSCSubtitles(mediaPlayer, playbackElement, mediaSources, {
7795
7795
  alwaysOnTop,
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-f1f29848.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-9a4a8d0d.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-f1f29848.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-9a4a8d0d.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.18.1",
3
+ "version": "10.18.2",
4
4
  "type": "module",
5
5
  "description": "Simplified media playback for bigscreen devices.",
6
6
  "main": "dist/esm/main.js",