@saooti/octopus-sdk 36.0.4 → 36.0.5

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": "36.0.4",
3
+ "version": "36.0.5",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -65,7 +65,6 @@
65
65
  .page-element{
66
66
  margin-top: 12rem;
67
67
  position: relative;
68
- z-index: 3;
69
68
  }
70
69
 
71
70
  .vue-swatches__trigger{
@@ -200,32 +200,14 @@ export default defineComponent({
200
200
  iFrameHeight(): string {
201
201
  switch (this.iFrameModel) {
202
202
  case 'large':
203
- if (this.podcast) return '180px';
204
- if ('number' === this.episodeNumbers && !this.playlist) {
205
- switch (this.iFrameNumber.toString()) {
206
- case '1': return '270px';
207
- case '2': return '320px';
208
- case '3': return '360px';
209
- case '4': return '420px';
210
- case '5': return '420px';
211
- default: return '420px';
212
- }
213
- }
214
- return '435px';
203
+ if (this.podcast) return '200px';
204
+ return '350px';
215
205
  case 'emissionLarge':
216
206
  case 'largeSuggestion':
217
- if ('number' !== this.episodeNumbers) return '510px';
218
- switch (this.iFrameNumber.toString()) {
219
- case '1':return '315px';
220
- case '2':return '365px';
221
- case '3':return '420px';
222
- case '4':return '470px';
223
- case '5':return '470px';
224
- default:return '470px';
225
- }
226
- case 'emission':return '530px';
207
+ return '350px';
208
+ case 'emission':return '520px';
227
209
  default:
228
- if (this.podcast) return '520px';
210
+ if (this.podcast) return '500px';
229
211
  return '530px';
230
212
  }
231
213
  },
@@ -341,7 +323,10 @@ export default defineComponent({
341
323
  }
342
324
  }
343
325
  .max-iframe {
344
- max-width: 300px;
326
+ width: 500px;
327
+ @media (max-width: 960px){
328
+ width: calc(100% - 2rem);
329
+ }
345
330
  }
346
331
  }
347
332
  </style>
@@ -45,9 +45,9 @@
45
45
  {{ link.title }}
46
46
  </router-link>
47
47
  </template>
48
- <button id="more-dropdown" class="d-flex align-items-center btn-transparent p-3">
48
+ <button id="more-dropdown" class="d-flex align-items-center hide-phone btn-transparent p-3">
49
49
  <div class="link-hover">{{$t('More')}}</div>
50
- <div class="hide-phone ms-1 saooti-down"></div>
50
+ <div class="ms-1 saooti-down"></div>
51
51
  </button>
52
52
  <Popover
53
53
  target="more-dropdown"
@@ -12,7 +12,7 @@ const state:ParamStore = {
12
12
  isPlaylist: false,
13
13
  isProduction: false,
14
14
  isContribution: true,
15
- ApiUri: 'https://api.staging.saooti.org/',
15
+ ApiUri: 'https://api.dev2.saooti.org/',
16
16
  podcastmaker: false,
17
17
  buttonPlus: true,
18
18
  allCategories: [],
@@ -26,8 +26,8 @@ const state:ParamStore = {
26
26
  SharePlayer: true,
27
27
  ShareButtons: true,
28
28
  ShareDistribution: true,
29
- MiniplayerUri: 'https://playerbeta.staging.saooti.org/',
30
- hlsUri: 'https://hls.staging.saooti.org/',
29
+ MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
30
+ hlsUri: 'https://hls.dev2.saooti.org/',
31
31
  mainRubrique: 0,
32
32
  resourceUrl: undefined,
33
33
  podcastItemShowEmission: false,
@@ -79,13 +79,13 @@ const state:ParamStore = {
79
79
  userName: '',
80
80
  },
81
81
  octopusApi: {
82
- url: 'https://api.staging.saooti.org/',
83
- commentsUrl: 'https://comments.staging.saooti.org/',
84
- imageUrl:'https://imageproxy.staging.saooti.org/',
85
- studioUrl: 'https://studio.staging.saooti.org/',
86
- playerUrl: 'https://playerbeta.staging.saooti.org/',
87
- speechToTextUrl:'https://speech2text.staging.saooti.org/',
88
- recoUrl: 'https://reco.staging.saooti.org/',
82
+ url: 'https://api.dev2.saooti.org/',
83
+ commentsUrl: 'https://comments.dev2.saooti.org/',
84
+ imageUrl:'https://imageproxy.dev2.saooti.org/',
85
+ studioUrl: 'https://studio.dev2.saooti.org/',
86
+ playerUrl: 'https://playerbeta.dev2.saooti.org/',
87
+ speechToTextUrl:'https://speech2text.dev2.saooti.org/',
88
+ recoUrl: 'https://reco.dev2.saooti.org/',
89
89
  organisationId: undefined,
90
90
  rubriqueIdFilter: undefined,
91
91
  },