1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-26 23:04:36 +02:00
This commit is contained in:
kakkokari-gtyih
2026-07-11 19:18:39 +09:00
parent 541715ea49
commit bf4a552af5
2 changed files with 1 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ SPDX-License-Identifier: AGPL-3.0-only
@loadedmetadata="originalContentLoaded = true"
@click.stop="onVideoClick"
></video>
<button v-if="content.type === 'video' && !isVideoPlaying" class="_button" :class="$style.videoOverlayPlayButton">
<button v-if="content.type === 'video' && !prefer.s.useNativeUiForVideoAudioPlayer && !isVideoPlaying" class="_button" :class="$style.videoOverlayPlayButton">
<i class="ti ti-player-play-filled"></i>
</button>
</template>

View File

@@ -32,10 +32,8 @@ SPDX-License-Identifier: AGPL-3.0-only
<video
v-else
:class="$style.video"
:poster="video.thumbnailUrl ?? undefined"
:alt="video.comment"
preload="metadata"
playsinline
>
<source :src="video.url">
</video>