Repository navigation
Is there any way to move media-time-group into video-controls-start? #9678
Replies: 2 comments 4 replies
|
Not with the packaged The supported route is to add the skin's source to your project and edit it:
<Controls.Group className={styles.start}> {/* video-controls-start */}
<PlayButton /> <VolumePopover … />
</Controls.Group>
<Controls.Group className={styles.timeSliderGroup}> {/* video-time-slider-group */}
<Time.Group> … current / separator / duration … </Time.Group>
<TimeSlider … />
</Controls.Group>
<Controls.Group className={styles.end}> … </Controls.Group>Move the whole One layout detail to know: below the skin's When you update Video.js later, |
|
Tracking this in #9701, with the change up in #9702. The Neutral video skin now puts the time next to play and volume at every size, and on compact players the time slider gets a row to itself, like your mockup. The same PR also tidies up the smallest players in both the Neutral and Default skins, so the controls stay on one row down to 240px. Once it's released, you won't need a local copy of the skin for this layout. |


Uh oh!
There was an error while loading. Please reload this page.
Is there any way to move media-time-group into video-controls-start?
like plyr can order the control button
All reactions