@saooti/octopus-sdk 31.0.55 → 31.0.57

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/README.md CHANGED
@@ -646,3 +646,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
646
646
  * 31.0.53 Correction playerLogic
647
647
  * 31.0.54 Test live ios
648
648
  * 31.0.55 Test live ios
649
+ * 31.0.56 Test live ios
650
+ * 31.0.57 Test live ios
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "31.0.55",
3
+ "version": "31.0.57",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -35,7 +35,15 @@ export const playerLive = defineComponent({
35
35
  '/index.m3u8';
36
36
  try {
37
37
  this.audioElement = (document.getElementById('audio-player') as HTMLAudioElement);
38
- if (this.audioElement && this.audioElement.canPlayType('application/vnd.apple.mpegurl')) {
38
+ if(null===this.audioElement){
39
+ setTimeout(() => {
40
+ this.playLive();
41
+ }, 1000);
42
+ return;
43
+ }
44
+ console.log(this.audioElement);
45
+ console.log(this.audioElement.canPlayType('application/vnd.apple.mpegurl'));
46
+ if (this.audioElement.canPlayType('application/vnd.apple.mpegurl')) {
39
47
  this.audioElement.src = hlsStreamUrl;
40
48
  await this.initLiveDownloadId();
41
49
  await (this.audioElement as HTMLAudioElement).play();
@@ -3,7 +3,7 @@ import { Category } from './class/general/category';
3
3
 
4
4
  const state:paramStore = {
5
5
  generalParameters: {
6
- organisationId:'0c599ef4-7bf3-4a76-b7ef-4ed7e4d5cd89',
6
+ organisationId:'ecbd98d9-79bd-4312-ad5e-fc7c1c4a191c',
7
7
  authenticated: true,
8
8
  isAdmin: true,
9
9
  isRoleLive: true,
@@ -12,7 +12,7 @@ const state:paramStore = {
12
12
  isPlaylist: false,
13
13
  isProduction: true,
14
14
  isContribution: true,
15
- ApiUri: 'https://api.preprod.saooti.org/',
15
+ ApiUri: 'https://api.dev2.saooti.org/',
16
16
  podcastmaker: false,
17
17
  buttonPlus: true,
18
18
  allCategories: [],
@@ -26,9 +26,9 @@ const state:paramStore = {
26
26
  SharePlayer: true,
27
27
  ShareButtons: true,
28
28
  ShareDistribution: true,
29
- MiniplayerUri: 'https://playerbeta.preprod.saooti.org/',
29
+ MiniplayerUri: 'https://playerbeta.dev2.saooti.org/',
30
30
  downloadButton: false,
31
- hlsUri: 'https://hls.preprod.saooti.org/',
31
+ hlsUri: 'https://hls.dev2.saooti.org/',
32
32
  mainRubrique: 0,
33
33
  resourceUrl: undefined,
34
34
  podcastItemShowEmission: false,
@@ -83,10 +83,10 @@ const state:paramStore = {
83
83
  userName: '',
84
84
  },
85
85
  octopusApi: {
86
- url: 'http://api.preprod.saooti.org/',
87
- commentsUrl: 'http://comments.preprod.saooti.org/',
88
- studioUrl: 'http://studio.preprod.saooti.org/',
89
- playerUrl: 'https://playerbeta.preprod.saooti.org/',
86
+ url: 'http://api.dev2.saooti.org/',
87
+ commentsUrl: 'http://comments.dev2.saooti.org/',
88
+ studioUrl: 'http://studio.dev2.saooti.org/',
89
+ playerUrl: 'https://playerbeta.dev2.saooti.org/',
90
90
  organisationId: undefined,
91
91
  rubriqueIdFilter: undefined,
92
92
  },