fix: tailing comma
This commit is contained in:
parent
3a7c670380
commit
c94856239a
@ -1,13 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="poamfof fill">
|
<div class="poamfof fill">
|
||||||
<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in">
|
<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in">
|
||||||
<div v-if="player.url" class="player">
|
<div v-if="player.url" class="player">
|
||||||
<iframe v-if="!fetching" :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/>
|
<iframe v-if="!fetching" :src="player.url + (player.url.match(/\?/) ? '&autoplay=1&auto_play=1' : '?autoplay=1&auto_play=1')" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen/>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
<MkLoading v-if="fetching" />
|
<MkLoading v-if="fetching" />
|
||||||
<MkError v-else-if="!player.url" @retry="ytFetch()" />
|
<MkError v-else-if="!player.url" @retry="ytFetch()" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
@ -43,7 +43,7 @@ const ytFetch = () => {
|
|||||||
player = info.player;
|
player = info.player;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
ytFetch();
|
ytFetch();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user