@saooti/octopus-sdk 37.0.55 → 37.0.56
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
package/src/assets/form.scss
CHANGED
package/src/assets/share.scss
CHANGED
|
@@ -285,35 +285,19 @@
|
|
|
285
285
|
font-size: 1.8rem;
|
|
286
286
|
color: white;
|
|
287
287
|
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
&.hover-type-video{
|
|
295
|
-
/*.saooti-play{
|
|
296
|
-
color: white;
|
|
297
|
-
}
|
|
298
|
-
.saooti-play-video{
|
|
299
|
-
color: $newLightenColor;
|
|
300
|
-
} */
|
|
301
|
-
&.has-video{
|
|
302
|
-
.saooti-play-video{
|
|
303
|
-
font-size: 2.5rem;
|
|
288
|
+
@media (min-width: 500px) {
|
|
289
|
+
&.hover-type-video{
|
|
290
|
+
&.has-video{
|
|
291
|
+
.saooti-play-video{
|
|
292
|
+
font-size: 2.5rem;
|
|
293
|
+
}
|
|
304
294
|
}
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
.saooti-play-video{
|
|
312
|
-
color: white;
|
|
313
|
-
} */
|
|
314
|
-
&.has-video{
|
|
315
|
-
.saooti-play{
|
|
316
|
-
font-size: 2.5rem;
|
|
295
|
+
}
|
|
296
|
+
&.hover-type-audio{
|
|
297
|
+
&.has-video{
|
|
298
|
+
.saooti-play{
|
|
299
|
+
font-size: 2.5rem;
|
|
300
|
+
}
|
|
317
301
|
}
|
|
318
302
|
}
|
|
319
303
|
}
|
|
@@ -68,18 +68,12 @@ export default defineComponent({
|
|
|
68
68
|
right: 1rem;
|
|
69
69
|
}
|
|
70
70
|
@media (max-width: 500px) {
|
|
71
|
-
.video-
|
|
72
|
-
|
|
73
|
-
padding-bottom: 56.25%;
|
|
74
|
-
height: 0;
|
|
71
|
+
.video-close {
|
|
72
|
+
bottom: 10.5rem;
|
|
75
73
|
}
|
|
76
74
|
.video-wrapper iframe {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
left: 0;
|
|
80
|
-
width: 100% !important;
|
|
81
|
-
height: 100%;
|
|
82
|
-
margin: 0 !important;
|
|
75
|
+
width: 100%;
|
|
76
|
+
max-height: 150px;
|
|
83
77
|
}
|
|
84
78
|
}
|
|
85
79
|
}
|
|
@@ -94,13 +94,15 @@ export const playerLive = defineComponent({
|
|
|
94
94
|
this.hls.loadSource(hlsStreamUrl);
|
|
95
95
|
});
|
|
96
96
|
},
|
|
97
|
-
endingLive(): void {
|
|
97
|
+
async endingLive(): Promise<void> {
|
|
98
98
|
const audio: HTMLElement | null = document.getElementById("audio-player");
|
|
99
99
|
if (audio && this.hls) {
|
|
100
100
|
this.hls.destroy();
|
|
101
|
-
(audio as HTMLAudioElement).src = "";
|
|
102
101
|
this.hls = null;
|
|
102
|
+
}else{
|
|
103
|
+
await (audio as HTMLAudioElement).pause();
|
|
103
104
|
}
|
|
105
|
+
(audio as HTMLAudioElement).src = "";
|
|
104
106
|
},
|
|
105
107
|
},
|
|
106
108
|
});
|