ajouter le video

This commit is contained in:
hatemhellal
2024-12-04 12:35:42 +01:00
parent 828dddb52b
commit 3b32a5314e
3 changed files with 10 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
<template> <template>
<div class="content-wrapper"> <div class="content-wrapper">
<ContentRenderer :value="doc" /> <!-- Render the markdown content --> <ContentRenderer :value="doc" /> <!-- Render the markdown content -->
<video controls width="640">
<source src="/videos/video.mp4" type="video/mp4" />
Your browser does not support the video tag.
</video>
</div> </div>
</template> </template>

View File

@@ -44,6 +44,12 @@
font-size: 0.98em; font-size: 0.98em;
color:#8B5E3C; color:#8B5E3C;
} }
video {
border: 2px solid #474405;
border-radius: 8px;
max-width: 100%; /* Responsive width */
display: block; /* Center the video */
margin: 20px auto;}

BIN
public/videos/video.mp4 Normal file

Binary file not shown.