chewie icon indicating copy to clipboard operation
chewie copied to clipboard

Feature request: Ability to hide onscreen controls programmatically

Open ghost opened this issue 5 years ago • 5 comments

When working with PIP (picture-in-picture) mode: Hiding player controls before transitioning to PIP mode is a must for user experience. Something like controller.hideControls() would be great

Current behavior:

  1. Go fullscreen
  2. Tap to show player controls
  3. Enter PIP mode
  4. Player controls are still visible in the small PIP window (for a duration of _hideTimer which is 3s)

Suggested behavior:

  1. Go fullscreen
  2. Tap to show player controls
  3. Call controller.hideControls()
  4. Enter PIP mode
  5. Only video is showing in the small PIP window

I did implement this in my fork and it works. But I'm pretty new to flutter development and it kinda felt like a hack? Here's the commit: https://github.com/kono0514/chewie_extended/commit/90b803d71f2ad308f03affd3314abbb188a859b9 If you can provide feedback for this commit, I can improve my implementation and do a PR.

ghost avatar Nov 09 '20 11:11 ghost

Thank you very much @kono0514 🙏 We'll have a look asap and give you feedback to this.

Ahmadre avatar Nov 09 '20 20:11 Ahmadre

this feature is required. no option to pause video and hide controls to view video clearly.

riyan-dcosta avatar May 02 '22 12:05 riyan-dcosta

this feature is required so badly

shobith10 avatar Aug 10 '23 07:08 shobith10

does anyone finds solution for this?

1041harpreet avatar Sep 21 '23 10:09 1041harpreet

anyone

ryanontheinside avatar Feb 17 '24 03:02 ryanontheinside