mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 10:11:31 +00:00
more basic ui elements
This commit is contained in:
1 parent
c4a97f3634
commit
161ba9dc45
3 files changed
+20
-1
No files matched your search
@@ -38,7 +38,10 @@ export default function VideoQuickTrim({
|
||||
}
|
||||
return (
|
||||
<div className="fy-video-quicktrim">
|
||||
<VideoFakeyou {...rest} controls={false}/>
|
||||
<div className="video-wrapper">
|
||||
<VideoFakeyou {...rest} controls={false}/>
|
||||
<div className="playpause-overlay">PLAY</div>
|
||||
</div>
|
||||
<div className="playbar">
|
||||
<div className="trimzone" />
|
||||
<div className="playcursor"/>
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
.fy-video-quicktrim {
|
||||
.video-wrapper{
|
||||
position: relative;
|
||||
}
|
||||
.playpause-overlay{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.playbar{
|
||||
position:relative;
|
||||
height: 2rem;
|
||||
|
||||
@@ -17,5 +17,12 @@ export default function ComponentSandbox(
|
||||
onChange={onChange}
|
||||
mediaToken='m_wdptbe5rfzpb1gzhva78gpw8qrkgs9'
|
||||
/>
|
||||
<br/>
|
||||
<br/>
|
||||
<VideoQuickTrim
|
||||
onChange={onChange}
|
||||
mediaToken='m_h21nykes0j3ph23y5z7w9axtjjn2rr'
|
||||
/>
|
||||
|
||||
</>);
|
||||
}
|
||||
Reference in new issue
Block a user