Custom WebView Player

Use @react-native-youtube-bridge/web when you need to host your own external player page.

npm install @react-native-youtube-bridge/web
import { YoutubePlayer } from '@react-native-youtube-bridge/web';

function CustomPlayerPage() {
  return <YoutubePlayer />;
}

export default CustomPlayerPage;

Then pass the hosted URL from the native app:

<YoutubePlayer
  source="AbZH7XWDW_k"
  useInlineHtml={false}
  webViewUrl="https://your-custom-player.com"
/>