fix(blog): implement feedback by jvs

This commit is contained in:
limes.pink 2025-04-16 18:25:07 +02:00
parent 31369704ca
commit 6d89c5632f

View File

@ -1,13 +1,14 @@
<script lang="ts" setup>
// eslint-disable-next-line vue/prop-name-casing -- this is gonna be used in markdown
const { videoId } = defineProps({ 'video-id': { type: String, required: true } });
const props = defineProps<{
videoId: string;
}>();
</script>
<template>
<iframe
width="560"
height="315"
:src="`https://www.youtube-nocookie.com/embed/${videoId}`"
:src="`https://www.youtube-nocookie.com/embed/${props.videoId}`"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"