Skip to content

Embedded YouTube iFrame not rendering #365

@leeprobert

Description

@leeprobert

I pasted the standard YouTube iFrame code into my CMS content, but it is not rendering on the iOS simulator within my Flutter app. Here's the iFrame code:

<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/bXohV1FWZQI" width="560"></iframe>

I also get this in the debug console:

Trying to embed a platform view but the PaintContext does not support embedding
Trying to embed a platform view but the PrerollContext does not support embedding

On the sim there is a large white space where the iFrame should be rendering the YouTube player.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions