@saooti/octopus-sdk 37.0.25 → 37.0.26

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.0.25",
3
+ "version": "37.0.26",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div v-if="!isLoading && !noSharing" class="module-box">
2
+ <div v-if="!isLoading && (authenticated || !noSharing)" class="module-box">
3
3
  <div class="d-flex align-items-center mb-3">
4
4
  <h2 class="big-h2 mb-0">
5
5
  {{ $t("Share") }}
@@ -21,6 +21,7 @@
21
21
  />
22
22
  </div>
23
23
  <ShareButtonsIntern
24
+ :no-sharing="noSharing"
24
25
  :podcast="podcast"
25
26
  :emission="emission"
26
27
  :playlist="playlist"
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="d-flex align-items-center justify-content-between">
3
- <div v-if="!isGarStudent" class="d-flex flex-column me-2">
3
+ <div v-if="!isGarStudent && !noSharing" class="d-flex flex-column me-2">
4
4
  <div class="h4 mb-2">
5
5
  {{ $t("Social networks") }}
6
6
  </div>
@@ -135,6 +135,7 @@ export default defineComponent({
135
135
  mixins: [displayMethods],
136
136
 
137
137
  props: {
138
+ noSharing: { default: false, type: Boolean },
138
139
  podcast: { default: undefined, type: Object as () => Podcast },
139
140
  emission: { default: undefined, type: Object as () => Emission },
140
141
  playlist: { default: undefined, type: Object as () => Playlist },
@@ -219,7 +219,7 @@ export default defineComponent({
219
219
  iFrameSrc(): string {
220
220
  if ("video" === this.iFrameModel) {
221
221
  return (
222
- "//www.ultimedia.com/deliver/generic/iframe/mdtk/01009833/zone/1/showtitle/1/src/" +
222
+ "http://www.ultimedia.com/deliver/generic/iframe/mdtk/01009833/zone/1/showtitle/1/src/" +
223
223
  this.podcast?.video?.videoId
224
224
  );
225
225
  }