add video
This commit is contained in:
父節點
bc8b68e449
當前提交
6e5badf01a
@ -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>
|
||||
);
|
||||
|
@ -28,3 +28,7 @@
|
||||
height: 100%;
|
||||
background: #ccc1;
|
||||
}
|
||||
|
||||
.video-container > div > video {
|
||||
width: 100%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user