update video

This commit is contained in:
lb
2023-11-06 17:00:35 +08:00
parent 3d80530ad6
commit 6894aba781
15 changed files with 50 additions and 13 deletions

View File

@@ -90,20 +90,17 @@ function KilnCenter() {
<div
className="video-wrapper"
style={{
// flex: 1,
// background: '#ccc3',
position: 'fixed',
top: 0,
left: 0,
width: '100%',
height: '736px',
}} // , top: '10%', left: '10%', position: 'absolute' }}
height: '100%',
zIndex: -1000,
}}
>
<video
src={currentVideo}
muted
preload="auto"
autoPlay={true}
width={'100%'}
ref={videoRef}
></video>
<video muted preload="auto" autoPlay={true} width={'100%'}>
<source src="/video/enter.webm" type="video/mp4" />
</video>
</div>
<div className={cls.videoLayer2}></div>