Added video progress bar
This commit is contained in:
@ -17,7 +17,10 @@ component AMVVideo(amv *arn.AMV)
|
||||
//- RawIcon("play")
|
||||
|
||||
.video-controls
|
||||
.video-duration= fmt.Sprintf("%d:%02d", int(amv.Info.Duration.Minutes()), int(amv.Info.Duration.Seconds()) % 60)
|
||||
.video-progress-bar
|
||||
.video-current-progress
|
||||
|
||||
.video-time= fmt.Sprintf("%d:%02d", int(amv.Info.Duration.Minutes()), int(amv.Info.Duration.Seconds()) % 60)
|
||||
|
||||
//- button.video-control.action(data-action="like", data-trigger="click")
|
||||
//- RawIcon("heart-o")
|
||||
|
Reference in New Issue
Block a user