Improve back press behaviour during playback
The current behavior when pressing back during playback is bad. It just closes the content immediately, regardless of whether the player overlay is visible or not.
For usability to prevent accidentally closing the content, during playback the stream/VoD should only be closed when pressing back twice in a row, so:
- If playback overlay is visible, pressing back once should hide the overlay, pressing back again should close content. This is what the native AppleTV+ app does.
- If playback overlay is hidden, pressing back once should show the overlay, pressing back again should close content
The current behavior is annoying because I normally only use the player overlay to fast forward, and I press back once I'm done to continue watching the VoD and want to get rid of the overlay I'm not using anymore. Also, because of the black screen bug. I have to press pause and play to get the video back, which shows the overlay, and I keep closing the VoD when trying to dismiss it.