react-native-youtube
react-native-youtube copied to clipboard
Controls for fullscreen
import YouTube from "react-native-youtube";
Is there any way for us to hide the controls for fullscreen mode? Or can we detect the top left cross button, because for now the cross button will trigger the "paused" state in onChangeState()?
@yeong0809 what is the problem? is it not really pausing?
@davidohayon669 I also faced this issue. The problem is that when top left cross button is clicked the video state changes to paused
. What this button should trigger is some other state as closed
or perhaps you'd think this has nothing to do with state but should rather trigger another prop like onClose
.
The way it works now there is no way to differ a real paused
state when user click pause control from the player close intent. So it is impossible to properly exit player screen and it stays black
same here, we would also like to know when the user pressed the fullscreen close button. Has anyone found a solution or hack for this problem?
@DanielLeberle as a temporal workaround I've added a close button so user could at least close the view after seeing a screen behind the video view. Hope to see a real solution from the maintainer.