mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-04-18 15:07:21 -05:00
fix(blog): implement feedback by jvs
This commit is contained in:
parent
31369704ca
commit
6d89c5632f
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user