Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iFrame can't go to fullscreen Android #1560

Open
3 tasks done
jcrgaprende opened this issue Feb 13, 2023 · 3 comments
Open
3 tasks done

iFrame can't go to fullscreen Android #1560

jcrgaprende opened this issue Feb 13, 2023 · 3 comments
Labels
info-needed / awaiting response Further information is requested

Comments

@jcrgaprende
Copy link

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
@breautek
Copy link
Contributor

Unable to reproduce on cordova-android@11.

I didn't [email protected], since that is out of development.

Screenshot from 2023-03-22 19-00-48

Also tested on my physical device with no prevail. It has the same behaviour as the emulator.

Are you able to provide a sample reproduction app?

@breautek breautek added the info-needed / awaiting response Further information is requested label Mar 22, 2023
@uaza
Copy link

uaza commented Mar 24, 2023

On my test devices, the error only occurs on Samsung Androids.

@hadisuria
Copy link

hadisuria commented Mar 29, 2023

I also have the same problem on some devices.

I you rotate the screen after pressing fullscreen button then video start playing in fullscreen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed / awaiting response Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants