bigscreen-player 8.4.2 → 8.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 { f as findSegmentTemplate, L as LoadUrl, a as DebugToolInstance, P as Plugins, U as Utils, D as DOMHelpers } from './main-3fb68b6f.js';
2
+ import { f as findSegmentTemplate, L as LoadUrl, a as DebugToolInstance, P as Plugins, U as Utils, D as DOMHelpers } from './main-8bfe1a34.js';
3
3
 
4
4
  const SEGMENTS_BUFFER_SIZE = 3;
5
5
  const LOAD_ERROR_COUNT_MAX = 3;
@@ -1,4 +1,4 @@
1
- import { D as DOMHelpers, a as DebugToolInstance, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-3fb68b6f.js';
1
+ import { D as DOMHelpers, a as DebugToolInstance, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-8bfe1a34.js';
2
2
 
3
3
  /**
4
4
  * Safely checks if an attribute exists on an element.
@@ -252,7 +252,7 @@ function callOnAllPlugins(funcKey, evt) {
252
252
  const clonedEvent = Utils.deepClone(evt);
253
253
  const selectedPlugins = plugins
254
254
  .filter((plugin) => plugin[funcKey] && typeof plugin[funcKey] === "function")
255
- .map((plugin) => plugin[funcKey]);
255
+ .map((plugin) => plugin[funcKey].bind(plugin));
256
256
 
257
257
  CallCallbacks(selectedPlugins, clonedEvent);
258
258
  }
@@ -5960,7 +5960,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
5960
5960
  function StrategyPicker() {
5961
5961
  return new Promise((resolve, reject) => {
5962
5962
  if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
5963
- return import('./msestrategy-2a46df0e.js')
5963
+ return import('./msestrategy-4cebcb48.js')
5964
5964
  .then(({ default: MSEStrategy }) => resolve(MSEStrategy))
5965
5965
  .catch(() => {
5966
5966
  reject({ error: "strategyDynamicLoadError" });
@@ -6383,7 +6383,7 @@ const PauseTriggers = {
6383
6383
  DEVICE: 3,
6384
6384
  };
6385
6385
 
6386
- var Version = "8.4.2";
6386
+ var Version = "8.4.3";
6387
6387
 
6388
6388
  var sourceList;
6389
6389
  var source;
@@ -7734,7 +7734,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7734
7734
 
7735
7735
  if (available()) {
7736
7736
  if (useLegacySubs) {
7737
- import('./legacysubtitles-a417014a.js')
7737
+ import('./legacysubtitles-4273318c.js')
7738
7738
  .then(({ default: LegacySubtitles }) => {
7739
7739
  subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7740
7740
  callback(subtitlesEnabled);
@@ -7743,7 +7743,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7743
7743
  Plugins.interface.onSubtitlesDynamicLoadError();
7744
7744
  });
7745
7745
  } else {
7746
- import('./imscsubtitles-3c8a6f17.js')
7746
+ import('./imscsubtitles-34bd2461.js')
7747
7747
  .then(({ default: IMSCSubtitles }) => {
7748
7748
  subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7749
7749
  callback(subtitlesEnabled);
package/dist/esm/main.js CHANGED
@@ -1 +1 @@
1
- export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, b as LiveSupport, c as MediaKinds, M as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, k as isMessage, l as isMetric, m as isTrace } from './main-3fb68b6f.js';
1
+ export { B as BigscreenPlayer, a as DebugTool, E as EntryCategory, b as LiveSupport, c as MediaKinds, M as MediaState, g as MockBigscreenPlayer, h as PauseTriggers, i as PlaybackStrategy, j as TransferFormat, T as TransportControlPosition, W as WindowTypes, k as isMessage, l as isMetric, m as isTrace } from './main-8bfe1a34.js';
@@ -1,5 +1,5 @@
1
1
  import { MediaPlayer } from 'dashjs/index_mediaplayerOnly';
2
- import { W as WindowTypes, U as Utils, D as DOMHelpers, b as LiveSupport, a as DebugToolInstance, M as MediaState, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-3fb68b6f.js';
2
+ import { W as WindowTypes, U as Utils, D as DOMHelpers, b as LiveSupport, a as DebugToolInstance, M as MediaState, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-8bfe1a34.js';
3
3
 
4
4
  function filter(manifest, representationOptions) {
5
5
  const constantFps = representationOptions.constantFps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigscreen-player",
3
- "version": "8.4.2",
3
+ "version": "8.4.3",
4
4
  "type": "module",
5
5
  "description": "Simplified media playback for bigscreen devices.",
6
6
  "main": "dist/esm/main.js",