@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "37.1.2",
3
+ "version": "38.0.0",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -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
@@ -348,4 +348,5 @@ export default {
348
348
  "Video Version":"Videoversion",
349
349
  "Chronological":"Chronologisch",
350
350
  "Trigger automatic reading if this is possible":"Wenn möglich, automatisches Auslesen auslösen",
351
+ "High version":"Hohe Version",
351
352
  }
package/src/locale/en.ts CHANGED
@@ -348,4 +348,5 @@ export default {
348
348
  "Video Version":"Video version",
349
349
  "Chronological":"Chronological",
350
350
  "Trigger automatic reading if this is possible":"Trigger automatic reading if this is possible",
351
+ "High version":"High version",
351
352
  };
package/src/locale/es.ts CHANGED
@@ -349,4 +349,5 @@ export default {
349
349
  "Video Version":"Versión de vídeo",
350
350
  "Chronological":"Cronológico",
351
351
  "Trigger automatic reading if this is possible":"Activar la lectura automática si esto es posible",
352
+ "High version":"Versión alta",
352
353
  }
package/src/locale/fr.ts CHANGED
@@ -355,4 +355,5 @@ export default {
355
355
  "Video Version":"Version vidéo",
356
356
  "Chronological":"Chronologique",
357
357
  "Trigger automatic reading if this is possible":"Déclencher la lecture automatique si celle ci est possible",
358
+ "High version":"Version en hauteur",
358
359
  };
package/src/locale/it.ts CHANGED
@@ -341,4 +341,5 @@ export default{
341
341
  "Video Version":"Versione video",
342
342
  "Chronological":"Cronologico",
343
343
  "Trigger automatic reading if this is possible":"Attivare la lettura automatica, se possibile",
344
+ "High version":"Versione alta",
344
345
  };
package/src/locale/sl.ts CHANGED
@@ -338,4 +338,5 @@ export default {
338
338
  "Video Version":"Video različica",
339
339
  "Chronological":"Kronološko",
340
340
  "Trigger automatic reading if this is possible":"Sprožite samodejno branje, če je to mogoče",
341
+ "High version":"Visoka različica",
341
342
  }
@@ -3,15 +3,15 @@ import { Category } from "./class/general/category";
3
3
 
4
4
  const state: ParamStore = {
5
5
  generalParameters: {
6
- organisationId: undefined/* "ecbd98d9-79bd-4312-ad5e-fc7c1c4a191c" */,
7
- authenticated: false,
8
- isAdmin: false,
9
- isRoleLive: false,
10
- isCommments: false,
11
- isOrganisation: false,
12
- isPlaylist: false,
13
- isProduction: false,
14
- isContribution: false,
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,