@saooti/octopus-sdk 39.0.20 → 39.0.22
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
|
@@ -70,15 +70,6 @@ export default defineComponent({
|
|
|
70
70
|
select:focus > option:checked {
|
|
71
71
|
background: #dddddd !important;
|
|
72
72
|
}
|
|
73
|
-
.classic-select select {
|
|
74
|
-
-webkit-appearance: none;
|
|
75
|
-
-moz-appearance: none;
|
|
76
|
-
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" role="presentation"><path fill="%233c3c3c80" d="M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"></path></svg>') !important;
|
|
77
|
-
background-repeat: no-repeat !important;
|
|
78
|
-
background-position-x: calc(100% - 6px) !important;
|
|
79
|
-
background-position-y: 0.7rem !important;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
73
|
select.transparent {
|
|
83
74
|
background: transparent !important;
|
|
84
75
|
outline-color: transparent !important;
|
|
@@ -66,12 +66,17 @@ export const playerStitching = defineComponent({
|
|
|
66
66
|
if(timeRemaining < 0){
|
|
67
67
|
return;
|
|
68
68
|
}
|
|
69
|
-
this.radioInterval = setTimeout(
|
|
70
|
-
|
|
71
|
-
if("PAUSED"===this.playerStatus){return;}
|
|
72
|
-
this.onRequestAd(await this.getVastUrl(this.playerRadio?.nextAdvertising?.tag ??"5e385e1b51c86"));
|
|
69
|
+
this.radioInterval = setTimeout(() => {
|
|
70
|
+
this.radioIntervalExecute();
|
|
73
71
|
}, timeRemaining);
|
|
74
72
|
},
|
|
73
|
+
async radioIntervalExecute(){
|
|
74
|
+
//If pause when ad needs to be played then skipped (TO THINK)
|
|
75
|
+
if("PAUSED"===this.playerStatus){return;}
|
|
76
|
+
const vastUrl = await this.getVastUrl(this.playerRadio?.nextAdvertising?.tag ??"5e385e1b51c86");
|
|
77
|
+
console.log("vastUrl "+vastUrl);
|
|
78
|
+
this.onRequestAd(vastUrl);
|
|
79
|
+
},
|
|
75
80
|
clearRadioInterval() {
|
|
76
81
|
clearInterval(this.radioInterval as unknown as number);
|
|
77
82
|
this.radioInterval = undefined;
|