ajouter le video
This commit is contained in:
4
app.vue
4
app.vue
@@ -1,6 +1,10 @@
|
||||
<template>
|
||||
<div class="content-wrapper">
|
||||
<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>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -44,6 +44,12 @@
|
||||
font-size: 0.98em;
|
||||
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
BIN
public/videos/video.mp4
Normal file
Binary file not shown.
Reference in New Issue
Block a user