add video

This commit is contained in:
lb 2024-04-25 09:44:36 +08:00
parent bc8b68e449
commit 6e5badf01a
2 changed files with 10 additions and 2 deletions

View File

@ -6,8 +6,12 @@ function VideoMonitor(props) {
<div className="video-monitor">
<h2>泡界线监控</h2>
<div className="video-container">
<div></div>
<div></div>
<div>
<video muted autoPlay loop src="https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"></video>
</div>
<div>
<video muted autoPlay loop src="https://storage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4"></video>
</div>
</div>
</div>
);

View File

@ -28,3 +28,7 @@
height: 100%;
background: #ccc1;
}
.video-container > div > video {
width: 100%;
}