For AI agents: the complete documentation index is available at /1.x/ko/llms.txt, the full documentation bundle is available at /1.x/ko/llms-full.txt, and this page is available as Markdown at /1.x/ko/guide/usage/custom-webview-player.md.
  • 한국어
  • 1.x
  • Custom WebView Player

    직접 외부 플레이어 페이지를 호스팅해야 한다면 @react-native-youtube-bridge/web를 사용합니다.

    npm install @react-native-youtube-bridge/web
    import { YoutubePlayer } from '@react-native-youtube-bridge/web';
    
    function CustomPlayerPage() {
      return <YoutubePlayer />;
    }
    
    export default CustomPlayerPage;

    이후 native 앱에서 호스팅 URL을 전달합니다.

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