mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-28 18:27:21 +09:00
fix: tailing comma
This commit is contained in:
parent
f97146be98
commit
6de468573a
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="poamfof fill">
|
||||
<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in">
|
||||
<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/>
|
||||
</div>
|
||||
</transition>
|
||||
<MkLoading v-if="fetching" />
|
||||
<MkError v-else-if="!player.url" @retry="ytFetch()" />
|
||||
</div>
|
||||
<div class="poamfof fill">
|
||||
<transition :name="$store.state.animation ? 'fade' : ''" mode="out-in">
|
||||
<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/>
|
||||
</div>
|
||||
</transition>
|
||||
<MkLoading v-if="fetching" />
|
||||
<MkError v-else-if="!player.url" @retry="ytFetch()" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
@ -43,7 +43,7 @@ const ytFetch = () => {
|
||||
player = info.player;
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
ytFetch();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user