mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-02 16:58:06 +09:00
🤞
This commit is contained in:
parent
1a47586cdc
commit
106800f0c5
@ -34,12 +34,8 @@ const props = defineProps<{
|
|||||||
video: misskey.entities.DriveFile;
|
video: misskey.entities.DriveFile;
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const videoEl = $ref<HTMLVideoElement | null>();
|
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
if (videoEl) {
|
new Vlitejs('#player');
|
||||||
new Vlitejs('#player');
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const hide = ref((defaultStore.state.nsfw === 'force') ? true : props.video.isSensitive && (defaultStore.state.nsfw !== 'ignore'));
|
const hide = ref((defaultStore.state.nsfw === 'force') ? true : props.video.isSensitive && (defaultStore.state.nsfw !== 'ignore'));
|
||||||
|
Loading…
Reference in New Issue
Block a user