Skip to content

iFrame can't go to fullscreen Android #1560

Open
@jcrgaprende

Description

@jcrgaprende

Bug Report

Problem

iFrame can't go to fullscreen Android

Information

  1. Create a new Cordova project using cordova create iframeTest
  2. Add Android platform: cordova platform add [email protected] (also happen with android@11)
  3. Add this code to index.html, inside body tag:

<iframe id="ytplayer" type="text/html" width="352" height="198" src="https://www.youtube.com/embed/M7lc1UVf-VE" frameborder="0" allowfullscreen></iframe>

  1. Run project on physical device using cordova run android
  2. Play YouTube video
  3. Tap on fullscreen button
  4. Nothing happend
  5. Lock Android device
  6. Unlock Android device
  7. Now seen full screen mode

What is expected to happen?

See video in fullscreen mode

What does actually happen?

iFrame can't go to fullscreen Android

Version information

Cordova CLI: 11.1.0
Cordova Android Platform: 10.1.2 (also happen with platform version 11)

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions