@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.
- package/dist/pillarbox-core.cjs +1 -1
- package/dist/pillarbox-core.es.js +1 -1
- package/dist/pillarbox.cjs +5 -2
- package/dist/pillarbox.cjs.map +1 -1
- package/dist/pillarbox.es.js +5 -2
- package/dist/pillarbox.es.js.map +1 -1
- package/dist/pillarbox.umd.js +5 -2
- package/dist/pillarbox.umd.js.map +1 -1
- package/dist/pillarbox.umd.min.js +9 -9
- package/dist/pillarbox.umd.min.js.map +1 -1
- package/dist/types/src/dataProvider/model/MediaComposition.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/pillarbox-core.cjs
CHANGED
package/dist/pillarbox.cjs
CHANGED
|
@@ -94,7 +94,7 @@ function _toPropertyKey(t) {
|
|
|
94
94
|
return "symbol" == typeof i ? i : i + "";
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
const version = "1.
|
|
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
|
-
}) =>
|
|
2841
|
+
}) => {
|
|
2842
|
+
return this.getMainChapter().urn === fullLengthUrn && this.getMainChapter().mediaType === mediaType;
|
|
2843
|
+
});
|
|
2841
2844
|
}
|
|
2842
2845
|
|
|
2843
2846
|
/**
|