apache / apache/cordova-android

iFrame can't go to fullscreen Android

Open
#1,560 3 comments 0 reactions 0 assignees View on GitHub
info-needed / awaiting response
Dominant language
JavaScript
Stars
3.8k
Forks
1.6k
Avg merge
16h 18m
Merged PRs (30d)
11

Description

# 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 android@10.1.2 (also happen with android@11)
3. Add this code to index.html, inside body tag:

``

4. Run project on physical device using cordova run android
5. Play YouTube video
6. Tap on fullscreen button
7. Nothing happend
8. Lock Android device
9. Unlock Android device
10. 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

- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the iframe markup in index.html using Cordova Android 10.1.2 or 11 on a physical device, then trace how the Android platform handles the fullscreen request. Done means tapping YouTube's fullscreen button immediately shows the video fullscreen without locking and unlocking the device.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.