@srgssr/pillarbox-web 1.34.2 → 1.35.0
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 +6 -2
- package/dist/pillarbox-core.cjs.map +1 -1
- package/dist/pillarbox-core.es.js +6 -2
- package/dist/pillarbox-core.es.js.map +1 -1
- package/dist/pillarbox.cjs +7 -5
- package/dist/pillarbox.cjs.map +1 -1
- package/dist/pillarbox.es.js +7 -6
- package/dist/pillarbox.es.js.map +1 -1
- package/dist/pillarbox.umd.js +7 -5
- package/dist/pillarbox.umd.js.map +1 -1
- package/dist/pillarbox.umd.min.js +1 -1
- package/dist/pillarbox.umd.min.js.map +1 -1
- package/dist/types/build.d.ts +2 -1
- package/dist/types/build.d.ts.map +1 -1
- package/dist/types/src/dataProvider/model/MediaComposition.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/pillarbox.umd.js
CHANGED
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
return "symbol" == typeof i ? i : i + "";
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
const version$8 = "1.
|
|
96
|
+
const version$8 = "1.35.0";
|
|
97
97
|
|
|
98
98
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
99
99
|
|
|
@@ -71514,16 +71514,20 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
71514
71514
|
* Configuration options for HTML5 settings in Pillarbox.
|
|
71515
71515
|
*
|
|
71516
71516
|
* @see [VHS useForcedSubtitles Option]{@link https://github.com/videojs/http-streaming/blob/main/README.md#useforcedsubtitles}
|
|
71517
|
+
* @see [VHS overrideNative Option]{@link https://github.com/videojs/http-streaming#overridenative}
|
|
71517
71518
|
* @type {Object}
|
|
71518
71519
|
* @property {Object} vhs - Configuration for the Video.js HTTP Streaming.
|
|
71519
71520
|
* @property {boolean} useForcedSubtitles - Enables the player to display forced subtitles by default.
|
|
71520
71521
|
* Forced subtitles are pieces of information intended for display when no other text representation
|
|
71521
71522
|
* is selected. They are used to clarify dialogue, provide alternate languages, display texted graphics,
|
|
71522
71523
|
* or present location/person IDs that are not otherwise covered in the dubbed/localized audio.
|
|
71524
|
+
* @property {boolean} overrideNative - Try to use videojs-http-streaming even on platforms that
|
|
71525
|
+
* provide some level of HLS support natively
|
|
71523
71526
|
*/
|
|
71524
71527
|
pillarbox.options.html5 = {
|
|
71525
71528
|
vhs: {
|
|
71526
|
-
useForcedSubtitles: true
|
|
71529
|
+
useForcedSubtitles: true,
|
|
71530
|
+
overrideNative: !pillarbox.browser.IS_SAFARI
|
|
71527
71531
|
}
|
|
71528
71532
|
};
|
|
71529
71533
|
/**
|
|
@@ -73950,9 +73954,6 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
73950
73954
|
if (!this.mainChapter) {
|
|
73951
73955
|
this.mainChapter = this.findChapterByUrn(this.chapterUrn);
|
|
73952
73956
|
}
|
|
73953
|
-
if (!this.mainChapter && this.chapterList && this.chapterList.length > 0) {
|
|
73954
|
-
[this.mainChapter] = this.chapterList;
|
|
73955
|
-
}
|
|
73956
73957
|
return this.mainChapter;
|
|
73957
73958
|
}
|
|
73958
73959
|
|
|
@@ -75566,6 +75567,7 @@ ${segmentInfoString(segmentInfo)}`); // If there's an init segment associated wi
|
|
|
75566
75567
|
};
|
|
75567
75568
|
|
|
75568
75569
|
exports.DataProvider = DataProvider;
|
|
75570
|
+
exports.ImageUtils = Image;
|
|
75569
75571
|
exports.MediaComposition = MediaComposition;
|
|
75570
75572
|
exports.PillarboxMonitoring = PillarboxMonitoring;
|
|
75571
75573
|
exports.Player = Player;
|