Skip to content

Tapping YouTube logo opens full YouTube site inside player instead of launching external app or browser #70

@basharna

Description

@basharna

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

When tapping the YouTube logo in the embedded player (YoutubeView), the full YouTube website loads inside the player frame rather than opening in the YouTube app or an external browser.

Screen.Recording.2025-08-04.at.2.09.23.mov

Library version

2.1.1

Steps to reproduce

const player = useYouTubePlayer(item.key, {
autoplay: false,
controls: true,
playsinline: error ? false : true,
rel: false,
});

<YoutubeView
player={player}
useInlineHtml={true}
// webViewUrl={videoUrl}
style={{ height: 180, aspectRatio: 16 / 9 }}
/>

Reproducible example repository

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions