@saooti/octopus-sdk 40.2.0 → 40.2.1
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
|
@@ -123,14 +123,16 @@ export default defineComponent({
|
|
|
123
123
|
},
|
|
124
124
|
},
|
|
125
125
|
created() {
|
|
126
|
-
if (this.isVideoPodcast) {
|
|
127
|
-
this.$emit("update:iFrameModel", "video");
|
|
128
|
-
}
|
|
129
126
|
if (this.isLive) {
|
|
130
127
|
return;
|
|
131
128
|
}
|
|
132
129
|
this.initCustomPlayers();
|
|
133
130
|
},
|
|
131
|
+
mounted(){
|
|
132
|
+
if (this.isVideoPodcast) {
|
|
133
|
+
this.$emit("update:iFrameModel", "video");
|
|
134
|
+
}
|
|
135
|
+
},
|
|
134
136
|
methods: {
|
|
135
137
|
isNumeric(value: string): boolean {
|
|
136
138
|
return /^-?\d+$/.test(value);
|
|
@@ -190,7 +192,7 @@ export default defineComponent({
|
|
|
190
192
|
const customPlayersForType = await this.fetchPlayerPaginate(type);
|
|
191
193
|
this.customPlayers = this.customPlayers.concat(customPlayersForType);
|
|
192
194
|
if (
|
|
193
|
-
|
|
195
|
+
!this.isVideoPodcast &&
|
|
194
196
|
selectIfPossible &&
|
|
195
197
|
customPlayersForType?.[0]?.selected
|
|
196
198
|
) {
|