@srgssr/pillarbox-web 1.33.0 → 1.33.1

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.
@@ -3,7 +3,7 @@
3
3
  const videojs = require('video.js');
4
4
  require('videojs-contrib-eme');
5
5
 
6
- const version = "1.32.2";
6
+ const version = "1.33.0";
7
7
 
8
8
  /** @import VJSPlayer from 'video.js/dist/types/player' */
9
9
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -1,7 +1,7 @@
1
1
  import videojs from 'video.js';
2
2
  import 'videojs-contrib-eme';
3
3
 
4
- const version = "1.32.2";
4
+ const version = "1.33.0";
5
5
 
6
6
  /** @import VJSPlayer from 'video.js/dist/types/player' */
7
7
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -94,7 +94,7 @@ function _toPropertyKey(t) {
94
94
  return "symbol" == typeof i ? i : i + "";
95
95
  }
96
96
 
97
- const version = "1.32.2";
97
+ const version = "1.33.0";
98
98
 
99
99
  /** @import VJSPlayer from 'video.js/dist/types/player' */
100
100
  /** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
@@ -2836,8 +2836,11 @@ class MediaComposition {
2836
2836
  const EPISODE = 'EPISODE';
2837
2837
  if (this.getMainChapter().mediaType === AUDIO || this.getMainChapter().type !== EPISODE) return [];
2838
2838
  return this.chapterList.filter(({
2839
+ fullLengthUrn,
2839
2840
  mediaType
2840
- }) => mediaType !== AUDIO);
2841
+ }) => {
2842
+ return this.getMainChapter().urn === fullLengthUrn && this.getMainChapter().mediaType === mediaType;
2843
+ });
2841
2844
  }
2842
2845
 
2843
2846
  /**