@saooti/octopus-sdk 37.0.20 → 37.0.21
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/package.json +1 -1
- package/src/assets/general.scss +3 -0
- package/src/components/display/list/SwiperList.vue +1 -0
- package/src/components/display/podcasts/PodcastImage.vue +1 -0
- package/src/components/display/sharing/SharePlayer.vue +9 -1
- package/src/components/display/sharing/SharePlayerTypes.vue +8 -0
- package/src/components/misc/modal/ShareModalPlayer.vue +3 -3
- package/src/locale/de.ts +3 -0
- package/src/locale/en.ts +3 -0
- package/src/locale/es.ts +3 -0
- package/src/locale/fr.ts +1 -0
- package/src/locale/it.ts +4 -1
- package/src/locale/sl.ts +3 -0
package/package.json
CHANGED
package/src/assets/general.scss
CHANGED
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
<iframe
|
|
18
18
|
id="miniplayerIframe"
|
|
19
19
|
title="miniplayer"
|
|
20
|
+
allowfullscreen="true"
|
|
21
|
+
allow="autoplay"
|
|
22
|
+
referrerpolicy="no-referrer-when-downgrade"
|
|
20
23
|
:src="iFrameSrc"
|
|
21
24
|
width="100%"
|
|
22
25
|
:height="iFrameHeight"
|
|
@@ -214,6 +217,9 @@ export default defineComponent({
|
|
|
214
217
|
);
|
|
215
218
|
},
|
|
216
219
|
iFrameSrc(): string {
|
|
220
|
+
if("video" === this.iFrameModel){
|
|
221
|
+
return "//www.ultimedia.com/deliver/generic/iframe/mdtk/01009833/zone/1/showtitle/1/src/" + this.podcast?.video?.videoId
|
|
222
|
+
}
|
|
217
223
|
let url = [""];
|
|
218
224
|
let iFrameNumber =
|
|
219
225
|
this.displayChoiceAllEpisodes && "all" === this.episodeNumbers
|
|
@@ -240,6 +246,7 @@ export default defineComponent({
|
|
|
240
246
|
},
|
|
241
247
|
iFrameHeight(): string {
|
|
242
248
|
switch (this.iFrameModel) {
|
|
249
|
+
case 'video': return 'auto';
|
|
243
250
|
case 'large':
|
|
244
251
|
if (this.podcast) return '140px';
|
|
245
252
|
return '350px';
|
|
@@ -254,7 +261,8 @@ export default defineComponent({
|
|
|
254
261
|
}
|
|
255
262
|
},
|
|
256
263
|
iFrame(): string {
|
|
257
|
-
|
|
264
|
+
const specialDigiteka = this.podcast?.video?.videoId ? 'allowfullscreen="true" allow="autoplay" referrerpolicy="no-referrer-when-downgrade"' : '';
|
|
265
|
+
return `<iframe src="${this.iFrameSrc}" width="100%" height="${this.iFrameHeight}" scrolling="no" frameborder="0" ${specialDigiteka}></iframe>`;
|
|
258
266
|
},
|
|
259
267
|
isPodcastNotVisible(): boolean {
|
|
260
268
|
return (
|
|
@@ -46,8 +46,12 @@ export default defineComponent({
|
|
|
46
46
|
};
|
|
47
47
|
},
|
|
48
48
|
computed: {
|
|
49
|
+
isVideoPodcast(): boolean{
|
|
50
|
+
return undefined!==this.podcast && undefined!==this.podcast.video?.videoId;
|
|
51
|
+
},
|
|
49
52
|
optionsSelect() {
|
|
50
53
|
return [
|
|
54
|
+
{name: this.$t('Video Version'), value: 'video', condition: this.isVideoPodcast},
|
|
51
55
|
{name: this.$t('Default version'), value: 'default', condition: true},
|
|
52
56
|
{name: this.$t('Large version'), value: 'large', condition: true},
|
|
53
57
|
{name: this.$t('Full Large version'), value: 'largeMore', condition: this.podcast && this.podcast.podcastId},
|
|
@@ -71,6 +75,9 @@ export default defineComponent({
|
|
|
71
75
|
},
|
|
72
76
|
},
|
|
73
77
|
async created() {
|
|
78
|
+
if(this.isVideoPodcast){
|
|
79
|
+
this.$emit("update:iFrameModel","video");
|
|
80
|
+
}
|
|
74
81
|
await this.initCustomPlayers();
|
|
75
82
|
},
|
|
76
83
|
methods: {
|
|
@@ -101,6 +108,7 @@ export default defineComponent({
|
|
|
101
108
|
}
|
|
102
109
|
this.customPlayers = this.customPlayers.concat(playersContent);
|
|
103
110
|
if (
|
|
111
|
+
'video'!==this.iFrameModel &&
|
|
104
112
|
trySelect &&
|
|
105
113
|
this.customPlayers[0] &&
|
|
106
114
|
this.customPlayers[0].selected
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
{{ tab }}
|
|
11
11
|
</template>
|
|
12
12
|
<template #tab0>
|
|
13
|
-
<p>{{ embedLink }}</p>
|
|
13
|
+
<p class="word-break-word">{{ embedLink }}</p>
|
|
14
14
|
<div class="saooti-copy" @click="onCopyCode(embedLink, afterCopy)" />
|
|
15
15
|
</template>
|
|
16
16
|
<template #tab1>
|
|
17
17
|
<div class="d-flex flex-column flex-grow-1">
|
|
18
18
|
<div class="d-flex justify-content-between align-items-center">
|
|
19
|
-
<p>{{ embedlyLink }}</p>
|
|
19
|
+
<p class="word-break-word">{{ embedlyLink }}</p>
|
|
20
20
|
<div
|
|
21
21
|
class="saooti-copy"
|
|
22
22
|
@click="onCopyCode(embedlyLink, afterCopy)"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
</template>
|
|
28
28
|
<template v-if="directLink" #tab2>
|
|
29
|
-
<p>{{ directLink.audioUrl }}</p>
|
|
29
|
+
<p class="word-break-word">{{ directLink.audioUrl }}</p>
|
|
30
30
|
<div
|
|
31
31
|
class="saooti-copy"
|
|
32
32
|
@click="onCopyCode(directLink.audioUrl, snackbarRef)"
|
package/src/locale/de.ts
CHANGED
|
@@ -343,4 +343,7 @@ export default {
|
|
|
343
343
|
"Display HTML":"HTML anzeigen",
|
|
344
344
|
"Video is unavailable":"Video ist nicht verfügbar",
|
|
345
345
|
'Full Large version': 'Vollständige große Version',
|
|
346
|
+
"Show only episodes with video":"Nur Episoden mit Video anzeigen",
|
|
347
|
+
"Video":"Video",
|
|
348
|
+
"Video Version":"Videoversion",
|
|
346
349
|
}
|
package/src/locale/en.ts
CHANGED
|
@@ -343,4 +343,7 @@ export default {
|
|
|
343
343
|
"Display HTML":"Display HTML",
|
|
344
344
|
"Video is unavailable":"Video is unavailable",
|
|
345
345
|
'Full Large version': 'Full large version',
|
|
346
|
+
"Show only episodes with video":"Show only episodes with video",
|
|
347
|
+
"Video":"Video",
|
|
348
|
+
"Video Version":"Video version",
|
|
346
349
|
};
|
package/src/locale/es.ts
CHANGED
|
@@ -344,4 +344,7 @@ export default {
|
|
|
344
344
|
"Display HTML":"Mostrar HTML",
|
|
345
345
|
"Video is unavailable":"El vídeo no está disponible",
|
|
346
346
|
'Full Large version': 'Versión grande completa',
|
|
347
|
+
"Show only episodes with video":"Mostrar solo episodios con video",
|
|
348
|
+
"Video":"Video",
|
|
349
|
+
"Video Version":"Versión de vídeo",
|
|
347
350
|
}
|
package/src/locale/fr.ts
CHANGED
package/src/locale/it.ts
CHANGED
|
@@ -335,5 +335,8 @@ export default{
|
|
|
335
335
|
"List":"Elenco",
|
|
336
336
|
"Display HTML":"Visualizza HTML",
|
|
337
337
|
"Video is unavailable":"Il video non è disponibile",
|
|
338
|
-
|
|
338
|
+
'Full Large version': 'Versione completa di grandi dimensioni',
|
|
339
|
+
"Show only episodes with video":"Mostra solo episodi con video",
|
|
340
|
+
"Video":"Video",
|
|
341
|
+
"Video Version":"Versione video",
|
|
339
342
|
};
|
package/src/locale/sl.ts
CHANGED
|
@@ -333,4 +333,7 @@ export default {
|
|
|
333
333
|
"Display HTML":"Prikaži HTML",
|
|
334
334
|
"Video is unavailable":"Videoposnetek ni na voljo",
|
|
335
335
|
'Full Large version': 'Popolna velika različica',
|
|
336
|
+
"Show only episodes with video":"Prikaži samo epizode z videom",
|
|
337
|
+
"Video":"Video",
|
|
338
|
+
"Video Version":"Video različica",
|
|
336
339
|
}
|