@saooti/octopus-sdk 37.1.2 → 38.0.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/package.json +1 -1
- package/src/components/display/sharing/SharePlayer.vue +3 -1
- package/src/components/display/sharing/SharePlayerTypes.vue +17 -0
- package/src/locale/de.ts +1 -0
- package/src/locale/en.ts +1 -0
- package/src/locale/es.ts +1 -0
- package/src/locale/fr.ts +1 -0
- package/src/locale/it.ts +1 -0
- package/src/locale/sl.ts +1 -0
- package/src/stores/ParamSdkStore.ts +9 -9
package/package.json
CHANGED
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
/>
|
|
28
28
|
<div class="d-flex flex-column flex-grow-1">
|
|
29
29
|
<SharePlayerTypes
|
|
30
|
-
v-if="!isLiveReadyToRecord"
|
|
31
30
|
v-model:iFrameModel="iFrameModel"
|
|
32
31
|
:podcast="podcast"
|
|
33
32
|
:emission="emission"
|
|
34
33
|
:playlist="playlist"
|
|
35
34
|
:organisation-id="organisationId"
|
|
35
|
+
:is-live="isLiveReadyToRecord"
|
|
36
36
|
/>
|
|
37
37
|
<SharePlayerColors
|
|
38
38
|
v-model:color="color"
|
|
@@ -267,6 +267,8 @@ export default defineComponent({
|
|
|
267
267
|
return "350px";
|
|
268
268
|
case "emission":
|
|
269
269
|
return "520px";
|
|
270
|
+
case "videoLive":
|
|
271
|
+
return "450px";
|
|
270
272
|
default:
|
|
271
273
|
return "530px";
|
|
272
274
|
}
|
|
@@ -37,6 +37,7 @@ export default defineComponent({
|
|
|
37
37
|
playlist: { default: undefined, type: Object as () => Playlist },
|
|
38
38
|
iFrameModel: { default: "default", type: String },
|
|
39
39
|
organisationId: { default: undefined, type: String },
|
|
40
|
+
isLive: { default: false, type: Boolean },
|
|
40
41
|
},
|
|
41
42
|
emits: ["update:iFrameModel"],
|
|
42
43
|
|
|
@@ -51,7 +52,20 @@ export default defineComponent({
|
|
|
51
52
|
undefined !== this.podcast && undefined !== this.podcast.video?.videoId
|
|
52
53
|
);
|
|
53
54
|
},
|
|
55
|
+
optionsSelectLive(){
|
|
56
|
+
return [
|
|
57
|
+
{ name: this.$t("Large version"), value: "large", condition: true },
|
|
58
|
+
{
|
|
59
|
+
name: this.$t("High version"),
|
|
60
|
+
value: "videoLive",
|
|
61
|
+
condition: this.podcast && this.podcast.podcastId,
|
|
62
|
+
}
|
|
63
|
+
];
|
|
64
|
+
},
|
|
54
65
|
optionsSelect() {
|
|
66
|
+
if(this.isLive){
|
|
67
|
+
return this.optionsSelectLive;
|
|
68
|
+
}
|
|
55
69
|
return [
|
|
56
70
|
{
|
|
57
71
|
name: this.$t("Video Version"),
|
|
@@ -100,6 +114,9 @@ export default defineComponent({
|
|
|
100
114
|
if (this.isVideoPodcast) {
|
|
101
115
|
this.$emit("update:iFrameModel", "video");
|
|
102
116
|
}
|
|
117
|
+
if(this.isLive){
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
103
120
|
await this.initCustomPlayers();
|
|
104
121
|
},
|
|
105
122
|
methods: {
|
package/src/locale/de.ts
CHANGED
package/src/locale/en.ts
CHANGED
package/src/locale/es.ts
CHANGED
package/src/locale/fr.ts
CHANGED
package/src/locale/it.ts
CHANGED
package/src/locale/sl.ts
CHANGED
|
@@ -3,15 +3,15 @@ import { Category } from "./class/general/category";
|
|
|
3
3
|
|
|
4
4
|
const state: ParamStore = {
|
|
5
5
|
generalParameters: {
|
|
6
|
-
organisationId:
|
|
7
|
-
authenticated:
|
|
8
|
-
isAdmin:
|
|
9
|
-
isRoleLive:
|
|
10
|
-
isCommments:
|
|
11
|
-
isOrganisation:
|
|
12
|
-
isPlaylist:
|
|
13
|
-
isProduction:
|
|
14
|
-
isContribution:
|
|
6
|
+
organisationId: "ecbd98d9-79bd-4312-ad5e-fc7c1c4a191c",
|
|
7
|
+
authenticated: true,
|
|
8
|
+
isAdmin: true,
|
|
9
|
+
isRoleLive: true,
|
|
10
|
+
isCommments: true,
|
|
11
|
+
isOrganisation: true,
|
|
12
|
+
isPlaylist: true,
|
|
13
|
+
isProduction: true,
|
|
14
|
+
isContribution: true,
|
|
15
15
|
ApiUri: "https://api.dev2.saooti.org/",
|
|
16
16
|
podcastmaker: false,
|
|
17
17
|
buttonPlus: true,
|