Started refactoring, added prettier and checks and reformatted project, added cspell and checks and custom project words, beginning of robotic oceanographic surface sampler content
This commit is contained in:
11
src/components/Media/Video.astro
Normal file
11
src/components/Media/Video.astro
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
import { type videoConfig } from "@interfaces/video.ts";
|
||||
|
||||
const config: videoConfig = Astro.props.videoConfig;
|
||||
console.log(config);
|
||||
---
|
||||
|
||||
<video class="h-auto w-full max-w-1/2" controls>
|
||||
<source src={config.videoPath} type={config.videoType ?? "video/mp4"} />
|
||||
Your browser does not support the video tag.
|
||||
</video>
|
||||
Reference in New Issue
Block a user