mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-18 01:55:03 +01:00
feat(gui): play videos and music in the app
Opening a video or a song in My files, by a double-click or Open, now plays it in an in-app player window, streamed from the mount as before. Open With… is the way to another player, and the separate Play item is gone. A file GStreamer can't play shows the error with Open With…. Both that player and the Photos lightbox share the new widgets/player.rs: a fullscreen button, fullscreen on a double-click, Repeat in the ⋮ menu, K to play and pause, J/L or Shift+arrows to jump 10 seconds, M to mute, and a volume that carries over between videos. The lightbox's thumbnail strip stays off a video, where it covered the seek bar.
This commit is contained in:
1 parent
9132c7ebd5
commit
602f1c9577
19 files changed
+3966
-3338
No files matched your search
@@ -24,6 +24,7 @@ crates/pdfs-gui/src/app/widgets/compat.rs
|
||||
crates/pdfs-gui/src/app/widgets/details.rs
|
||||
crates/pdfs-gui/src/app/widgets/file_list.rs
|
||||
crates/pdfs-gui/src/app/widgets/menu.rs
|
||||
crates/pdfs-gui/src/app/widgets/player.rs
|
||||
crates/pdfs-gui/src/app/widgets/share_dialog.rs
|
||||
crates/pdfs-gui/src/app/widgets/thumbnails.rs
|
||||
crates/pdfs-gui/src/app/widgets/versions_dialog.rs
|
||||
|
||||
+395
-362
File diff suppressed because it is too large.
Load diff
+385
-362
File diff suppressed because it is too large.
Load diff
+395
-362
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user