@srgssr/pillarbox-web 1.20.0 → 1.21.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.js +1 -1
- package/dist/pillarbox-core.es.js +1 -1
- package/dist/pillarbox.cjs.js +13 -2
- package/dist/pillarbox.cjs.js.map +1 -1
- package/dist/pillarbox.es.js +13 -2
- package/dist/pillarbox.es.js.map +1 -1
- package/dist/pillarbox.umd.js +13 -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.cjs.js
CHANGED
|
@@ -109,7 +109,7 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
109
109
|
return target;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
const version = "1.
|
|
112
|
+
const version = "1.21.0";
|
|
113
113
|
|
|
114
114
|
/** @import VJSPlayer from 'video.js/dist/types/player' */
|
|
115
115
|
/** @import AudioTrack from 'video.js/dist/types/tracks/audio-track' */
|
|
@@ -2629,7 +2629,8 @@ class MediaComposition {
|
|
|
2629
2629
|
*/
|
|
2630
2630
|
getChapters() {
|
|
2631
2631
|
const AUDIO = 'AUDIO';
|
|
2632
|
-
|
|
2632
|
+
const EPISODE = 'EPISODE';
|
|
2633
|
+
if (this.getMainChapter().mediaType === AUDIO || this.getMainChapter().type !== EPISODE) return [];
|
|
2633
2634
|
return this.chapterList.filter(({
|
|
2634
2635
|
mediaType
|
|
2635
2636
|
}) => mediaType !== AUDIO);
|
|
@@ -2997,6 +2998,7 @@ const GEOBLOCK$4 = "Dieser Inhalt ist ausserhalb der Schweiz nicht verfügbar.";
|
|
|
2997
2998
|
const JOURNALISTIC$4 = "Dieser Inhalt steht aus publizistischen Gründen vorübergehend nicht zur Verfügung.";
|
|
2998
2999
|
const LEGAL$4 = "Dieser Inhalt ist aus rechtlichen Gründen nicht verfügbar.";
|
|
2999
3000
|
const STARTDATE$4 = "Dieser Inhalt ist noch nicht verfügbar. Bitte probieren Sie es später noch einmal.";
|
|
3001
|
+
const VPNORPROXYDETECTED$4 = "Dieser Inhalt ist mit VPN oder Proxy nicht abspielbar.";
|
|
3000
3002
|
const UNKNOWN$4 = "Dieser Inhalt ist nicht verfügbar.";
|
|
3001
3003
|
const pillarboxLang$4 = {
|
|
3002
3004
|
AGERATING12: AGERATING12$4,
|
|
@@ -3007,6 +3009,7 @@ const pillarboxLang$4 = {
|
|
|
3007
3009
|
JOURNALISTIC: JOURNALISTIC$4,
|
|
3008
3010
|
LEGAL: LEGAL$4,
|
|
3009
3011
|
STARTDATE: STARTDATE$4,
|
|
3012
|
+
VPNORPROXYDETECTED: VPNORPROXYDETECTED$4,
|
|
3010
3013
|
UNKNOWN: UNKNOWN$4
|
|
3011
3014
|
};
|
|
3012
3015
|
|
|
@@ -3156,6 +3159,7 @@ const GEOBLOCK$3 = "This content is not available outside Switzerland.";
|
|
|
3156
3159
|
const JOURNALISTIC$3 = "This content is temporarily unavailable for journalistic reasons.";
|
|
3157
3160
|
const LEGAL$3 = "This content is not available due to legal restrictions.";
|
|
3158
3161
|
const STARTDATE$3 = "This content is not available yet.";
|
|
3162
|
+
const VPNORPROXYDETECTED$3 = "This content cannot be played while using a VPN or a proxy.";
|
|
3159
3163
|
const UNKNOWN$3 = "This content is not available.";
|
|
3160
3164
|
const pillarboxLang$3 = {
|
|
3161
3165
|
AGERATING12: AGERATING12$3,
|
|
@@ -3166,6 +3170,7 @@ const pillarboxLang$3 = {
|
|
|
3166
3170
|
JOURNALISTIC: JOURNALISTIC$3,
|
|
3167
3171
|
LEGAL: LEGAL$3,
|
|
3168
3172
|
STARTDATE: STARTDATE$3,
|
|
3173
|
+
VPNORPROXYDETECTED: VPNORPROXYDETECTED$3,
|
|
3169
3174
|
UNKNOWN: UNKNOWN$3
|
|
3170
3175
|
};
|
|
3171
3176
|
|
|
@@ -3314,6 +3319,7 @@ const GEOBLOCK$2 = "La RTS ne dispose pas des droits de diffusion en dehors de l
|
|
|
3314
3319
|
const JOURNALISTIC$2 = "Ce contenu est temporairement indisponible pour des raisons éditoriales.";
|
|
3315
3320
|
const LEGAL$2 = "Pour des raisons juridiques, ce contenu n'est pas disponible.";
|
|
3316
3321
|
const STARTDATE$2 = "Ce contenu n'est pas encore disponible. Veuillez réessayer plus tard.";
|
|
3322
|
+
const VPNORPROXYDETECTED$2 = "Ce contenu ne peut pas être lu avec un VPN ou un proxy.";
|
|
3317
3323
|
const UNKNOWN$2 = "Ce contenu n'est actuellement pas disponible.";
|
|
3318
3324
|
const pillarboxLang$2 = {
|
|
3319
3325
|
AGERATING12: AGERATING12$2,
|
|
@@ -3324,6 +3330,7 @@ const pillarboxLang$2 = {
|
|
|
3324
3330
|
JOURNALISTIC: JOURNALISTIC$2,
|
|
3325
3331
|
LEGAL: LEGAL$2,
|
|
3326
3332
|
STARTDATE: STARTDATE$2,
|
|
3333
|
+
VPNORPROXYDETECTED: VPNORPROXYDETECTED$2,
|
|
3327
3334
|
UNKNOWN: UNKNOWN$2
|
|
3328
3335
|
};
|
|
3329
3336
|
|
|
@@ -3461,6 +3468,7 @@ const GEOBLOCK$1 = "Questo media non è disponibile fuori dalla Svizzera.";
|
|
|
3461
3468
|
const JOURNALISTIC$1 = "Questo contenuto è temporaneamente non disponibile per motivi editoriali.";
|
|
3462
3469
|
const LEGAL$1 = "Il contenuto non è fruibile a causa di restrizioni legali.";
|
|
3463
3470
|
const STARTDATE$1 = "Il contenuto non è ancora disponibile. Per cortesia prova più tardi.";
|
|
3471
|
+
const VPNORPROXYDETECTED$1 = "Questo contenuto non può essere riprodotto con VPN o proxy.";
|
|
3464
3472
|
const UNKNOWN$1 = "Questo media non è disponibile.";
|
|
3465
3473
|
const pillarboxLang$1 = {
|
|
3466
3474
|
AGERATING12: AGERATING12$1,
|
|
@@ -3471,6 +3479,7 @@ const pillarboxLang$1 = {
|
|
|
3471
3479
|
JOURNALISTIC: JOURNALISTIC$1,
|
|
3472
3480
|
LEGAL: LEGAL$1,
|
|
3473
3481
|
STARTDATE: STARTDATE$1,
|
|
3482
|
+
VPNORPROXYDETECTED: VPNORPROXYDETECTED$1,
|
|
3474
3483
|
UNKNOWN: UNKNOWN$1
|
|
3475
3484
|
};
|
|
3476
3485
|
|
|
@@ -3521,6 +3530,7 @@ const GEOBLOCK = "Quest cuntegn n'è betg disponibel ordaifer la Svizra.";
|
|
|
3521
3530
|
const JOURNALISTIC = "Quest cuntegn na stat ad interim betg a disposiziun per motivs publicistics.";
|
|
3522
3531
|
const LEGAL = "Quest cuntegn n'è betg disponibel perquai ch'el è scadì.";
|
|
3523
3532
|
const STARTDATE = "Quest cuntegn n'è betg anc disponibel. Empruvai pli tard.";
|
|
3533
|
+
const VPNORPROXYDETECTED = "Quest cuntegn na po betg vegnir reproducì cun VPN ni proxy activà.";
|
|
3524
3534
|
const UNKNOWN = "Quest cuntegn n'è betg disponibel.";
|
|
3525
3535
|
const pillarboxLang = {
|
|
3526
3536
|
"Audio Player": "Audio-Player",
|
|
@@ -3613,6 +3623,7 @@ const pillarboxLang = {
|
|
|
3613
3623
|
JOURNALISTIC: JOURNALISTIC,
|
|
3614
3624
|
LEGAL: LEGAL,
|
|
3615
3625
|
STARTDATE: STARTDATE,
|
|
3626
|
+
VPNORPROXYDETECTED: VPNORPROXYDETECTED,
|
|
3616
3627
|
UNKNOWN: UNKNOWN
|
|
3617
3628
|
};
|
|
3618
3629
|
|