Repository navigation
Description
Description
In a MAUI Blazor app, when you try to make an iframe video to run full screen in android devices,
nothing happens.
Steps to Reproduce
- Create a new MAUI Blazor app
- In the Index page, add an iframe to a video. Example below
<iframe width="684" height="385" src="https://www.youtube.com/embed/sGYIDKx6cY0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> - Deploy the app to an android device.
- Try to make the video to play full screen
Same thing happens with Azure Media Player
Version with bug
6.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No, I haven't found a workaround
Relevant log output
Log when using Azure Media Player
[chromium] [INFO:CONSOLE(37)] "Uncaught (in promise) TypeError: fullscreen error", source: https://amp.azure.net/libs/amp/latest/azuremediaplayer.min.js (37)
[CCodecBufferChannel] [c2.qti.avc.decoder#386] DEBUG: elapsed: n=16 [in=0 pipeline=0 out=12]
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 1
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 0
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 1
[BufferPoolAccessor2.0] bufferpool2 0xb4000076260d9838 : 5(15667200 size) total buffers - 4(12533760 size) used buffers - 341/347 (recycle/alloc) - 9/345 (fetch/transfer)
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 0
[CCodecBufferChannel] [c2.qti.avc.decoder#386] DEBUG: elapsed: n=16 [in=0 pipeline=0 out=12]
[ViewRootImpl@c269f0c[MainActivity]] ViewPostIme pointer 1
[chromium] [INFO:CONSOLE(37)] "Uncaught (in promise) TypeError: Failed to execute 'exitFullscreen' on 'Document': Document not active", source: https://amp.azure.net/libs/amp/latest/azuremediaplayer.min.js (37)
Thread finished: #16
Thread finished: #18
Thread finished: #15
Activity
Eilon commentedon Jun 15, 2022
@efonsecab thank you for the report. For this part:
Do the usual controls for attempting to show full screen show up, but when you tap it, nothing happens? Or does the full screen button not even show up?
jfversluis commentedon Jun 15, 2022
Maybe (partially) related to #4807 ? @efonsecab did you also test on iOS or Windows? Does it work properly there?
efonsecab commentedon Jun 15, 2022
Yes, the controls appear, it's just that the full screen action is not executing. I just confirmed the issue also happens when using Azure Media Player.
I updated the Relevant log output for this scenario.
TanayParikh commentedon Jun 15, 2022
@efonsecab to help us isolate this issue, can you please confirm if the issue also reproduces in the base MAUI WebView (without Blazor)?
efonsecab commentedon Jun 16, 2022
Yes, same issue with a normal MAUI app with a WebView.
Seems related/duplicate of this:
#7720
kristinx0211 commentedon Jul 1, 2022
verified repro on android.
8 remaining items
jfversluis commentedon Sep 24, 2025
The PR associated for this was merged so I'm assuming this is fixed in recent versions, if not, please let us know!