bigscreen-player 6.0.0 → 6.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.
@@ -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-067f8f93.js';
2
+ import { f as findSegmentTemplate, L as LoadUrl, a as DebugTool, P as Plugins, U as Utils, D as DOMHelpers } from './main-e14c09cf.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 DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-067f8f93.js';
1
+ import { D as DOMHelpers, a as DebugTool, P as Plugins, L as LoadUrl, T as TransportControlPosition } from './main-e14c09cf.js';
2
2
 
3
3
  /**
4
4
  * Safely checks if an attribute exists on an element.
@@ -5771,7 +5771,7 @@ BasicStrategy.getLiveSupport = () => LiveSupport.SEEKABLE;
5771
5771
  function StrategyPicker() {
5772
5772
  return new Promise((resolve, reject) => {
5773
5773
  if (window.bigscreenPlayer.playbackStrategy === PlaybackStrategy.MSE) {
5774
- return import('./msestrategy-c4b6d760.js')
5774
+ return import('./msestrategy-b880b00c.js')
5775
5775
  .then(({ default: MSEStrategy }) => resolve(MSEStrategy))
5776
5776
  .catch(() => {
5777
5777
  reject({ error: "strategyDynamicLoadError" });
@@ -6217,7 +6217,7 @@ function CallCallbacks(callbacks, data) {
6217
6217
  }
6218
6218
  }
6219
6219
 
6220
- var version = "6.0.0";
6220
+ var version = "6.0.2";
6221
6221
 
6222
6222
  var sourceList;
6223
6223
  var source;
@@ -7591,7 +7591,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7591
7591
  let subtitlesContainer;
7592
7592
 
7593
7593
  if (useLegacySubs && available()) {
7594
- import('./legacysubtitles-7372c09b.js')
7594
+ import('./legacysubtitles-32678af3.js')
7595
7595
  .then(({ default: LegacySubtitles }) => {
7596
7596
  subtitlesContainer = LegacySubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7597
7597
  callback(subtitlesEnabled);
@@ -7609,7 +7609,7 @@ function Subtitles(mediaPlayer, autoStart, playbackElement, defaultStyleOpts, me
7609
7609
  */
7610
7610
  Promise.resolve().then(() => callback(subtitlesEnabled));
7611
7611
  } else {
7612
- import('./imscsubtitles-2c23f7db.js')
7612
+ import('./imscsubtitles-aad19753.js')
7613
7613
  .then(({ default: IMSCSubtitles }) => {
7614
7614
  subtitlesContainer = IMSCSubtitles(mediaPlayer, autoStart, playbackElement, mediaSources, defaultStyleOpts);
7615
7615
  callback(subtitlesEnabled);
package/dist/esm/main.js CHANGED
@@ -1 +1 @@
1
- export { B as BigscreenPlayer, 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 } from './main-067f8f93.js';
1
+ export { B as BigscreenPlayer, 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 } from './main-e14c09cf.js';
@@ -1,4 +1,4 @@
1
- import { U as Utils, D as DOMHelpers, W as WindowTypes, b as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-067f8f93.js';
1
+ import { U as Utils, D as DOMHelpers, W as WindowTypes, b as LiveSupport, M as MediaState, a as DebugTool, P as Plugins, c as MediaKinds, d as TimeUtils, e as DynamicWindowUtils } from './main-e14c09cf.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": "6.0.0",
3
+ "version": "6.0.2",
4
4
  "description": "Simplified media playback for bigscreen devices.",
5
5
  "main": "dist/esm/main.js",
6
6
  "browser": "dist/esm/main.js",
@@ -15,9 +15,7 @@
15
15
  ],
16
16
  "scripts": {
17
17
  "prepare": "[ ! -d dist/ ] && npm run build || exit 0",
18
- "docs": "npm run docs:clean && npm run docs:build",
19
- "docs:clean": "rm -r ./docs/api",
20
- "docs:build": "jsdoc -c jsdoc.conf.json",
18
+ "docs": "jsdoc -c jsdoc.conf.json",
21
19
  "build": "npm run build:clean && npm run build:bundle",
22
20
  "build:clean": "rm -rf dist",
23
21
  "build:bundle": "rollup -c rollup.config.js",