T26c Media: video
Scrubber shows what has loaded, what has played and its chapters, names the time under the pointer, seeks by press and gpui's drag, and steps by the slider's keys; over_media lights it for a dark layer. VideoPlayer shows the host's frame in its shape with a caption and a control bar over it: the scrubber, play, the time, speed, captions, picture in picture and full screen, each only with its handler; the bar rests after a still pointer while it plays, on one wake from the executor's timer. Keys: Space and K, J and L, the arrows, C and F. VideoThumbnailStrip lays frames along the length under a playhead with a trim whose handles drag and whose ends I and O set. SubtitleEditor edits cues in place: times as mm:ss.mmm, kept in order, a time that does not read kept out with the reason shown. InlineEdit is a Tab stop with the ring; it hands focus back after Enter or Escape and keeps its text on Enter's release. overlays::media_button is shared by the lightbox and the player's bar.
This commit is contained in:
1 parent
99b6ccd798
commit
d125314d39
22 files changed
+2232
-25
No files matched your search
@@ -12,6 +12,7 @@ pub use dialog::{Close, Dialog};
|
||||
pub use dialogs::{AlertDialog, ConfirmDialog, PromptDialog};
|
||||
pub use floats::{FloatingToolbar, Peek};
|
||||
pub use hover::HoverCard;
|
||||
pub(crate) use lightbox::media_button;
|
||||
pub use lightbox::{Lightbox, Slide};
|
||||
pub use popover::Popover;
|
||||
pub use spotlight::{Spotlight, Tour, TourStep};
|
||||
Reference in new issue
Block a user