update video
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user