Skip to content

[Bug]: Ios Youtube embed player issue - Blocked a frame with origin "ionic://localhost" from accessing a frame with origin "https://www.youtube.com". Protocols must match. #8205

Description

@DharaniDevi2301

Capacitor Version

Capacitor Version : 6.2.1
Ionic version : 8

Image

Other API Details

Ionic(Angular) capacitor ios

Platforms Affected

  • iOS
  • Android
  • Web

Current Behavior

Youtube video player is not playing . I have updated the Youtube IFrame Api implementation too. But Still getting this cors error. Blocked a frame with origin "ionic://localhost" from accessing a frame with origin "https://www.youtube.com". Protocols must match. It happens only on IOS Devices only. In Android Devices , youtube video is playing well.

Expected Behavior

Youtube player should be played without cors error

Project Reproduction

you can check in the latest version of the capacitor

Additional Information

No response

Metadata

Metadata

Assignees

Labels

needs reproductionneeds reproducible example to illustrate the issue

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions