react-player
react-player copied to clipboard
Full Screen Container?
Hi,
This isn't a regular issue or bug report. I'm just wondering if it's possible to have some control over the full screen mode of youtube videos. Is it possible to provide a container for the full screen video to load into? (So that there is a border around the playing video)?
Many thanks
You would need to have a manual container around it or just use the ReactPlayer fullscreen API and disable YT-Controls (they are iframe, you have no direct control).
You could also take a look at e.g. https://www.npmjs.com/package/screenfull
@mikejw You might find this SO question and answer useful