elementary / videos

Video player and library app designed for elementary OS

Home Page:https://elementary.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal Videos

kdwk opened this issue · comments

commented

Problem

The title bar and black bars around the video cannot be hidden in floating window mode.

Proposal

Provide a (automatic?) way to just view the video. Make the window exactly as big as the video and hide everything that is not the video, including title bar and black bars. Perhaps this view can be made the default every time a video is opened, and the extra title bars and controls can appear when the mouse cursor hovers and moves over the video.

Prior Art (Optional)

Minimal Camera proposed here: elementary/camera#125

macOS video player (I don’t have access to macOS so this is iPadOS PiP mode, but they look very similar):
41BAED16-B19F-42DA-A413-3E1A4C70EFB5

commented

There is also the issue of accessibility to be considered, specifically keyboard navigation. I propose that when Videos is in focus and TAB is pressed, the window title bar and video controls automatically appear and focus on buttons and stuff, like normal keyboard navigation. After a certain period of inactivity, they can disappear again.

commented

This also allows proper PiP mode to be supported, as it is just a matter of enabling this minimal mode, inhibit the usual controls (and showing a revert to windowed mode button on mouse cursor hover), resizing the window and move it to the bottom right, make it always on top and visible on all workspaces.

commented

Together with #225, proper PiP everywhere can also be supported. For example, a video in Web can be PiPed by passing the video URL to Videos PiP mode mentioned above.

Fixed in #382