add video
This commit is contained in:
parent
bc8b68e449
commit
6e5badf01a
@ -6,8 +6,12 @@ function VideoMonitor(props) {
|
|||||||
<div className="video-monitor">
|
<div className="video-monitor">
|
||||||
<h2>泡界线监控</h2>
|
<h2>泡界线监控</h2>
|
||||||
<div className="video-container">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
@ -28,3 +28,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
background: #ccc1;
|
background: #ccc1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video-container > div > video {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user