Added YtVideo, set enables on site layout for first prod deploy
This commit is contained in:
9
src/components/YtVideo.astro
Normal file
9
src/components/YtVideo.astro
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
import type {videoConfig} from "@interfaces/video.ts";
|
||||
|
||||
const config: videoConfig = Astro.props.videoConfig;
|
||||
---
|
||||
<iframe class="h-128 w-full max-w-1/2" src={config.videoPath}
|
||||
title={config.videoTitle ?? ""}
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
||||
Reference in New Issue
Block a user