Skip to content

MAUI WebView Apps do not allow iframe videos to run full screen #8030

Closed

Description

@efonsecab

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

  1. Create a new MAUI Blazor app
  2. 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>
  3. Deploy the app to an android device.
  4. 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

  1. added
    s/needs-verification
    t/bug
    on Jun 15, 2022
  2. added
    area-blazor
    on Jun 15, 2022
  3. Eilon commented on Jun 15, 2022

    @Eilon
    Contributor

    @efonsecab thank you for the report. For this part:

    Try to make the video to play full screen

    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?

  4. jfversluis commented on Jun 15, 2022

    @jfversluis
    Member

    Maybe (partially) related to #4807 ? @efonsecab did you also test on iOS or Windows? Does it work properly there?

  5. removed
    s/needs-verification
    on Jun 15, 2022
  6. efonsecab commented on Jun 15, 2022

    @efonsecab
    Author

    @efonsecab thank you for the report. For this part:

    Try to make the video to play full screen

    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?

    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.

  7. TanayParikh commented on Jun 15, 2022

    @TanayParikh
    Contributor

    @efonsecab to help us isolate this issue, can you please confirm if the issue also reproduces in the base MAUI WebView (without Blazor)?

  8. efonsecab commented on Jun 16, 2022

    @efonsecab
    Author

    @efonsecab to help us isolate this issue, can you please confirm if the issue also reproduces in the base MAUI WebView (without Blazor)?

    Yes, same issue with a normal MAUI app with a WebView.

    Seems related/duplicate of this:
    #7720

  9. removed
    area-blazor
    on Jun 16, 2022
  10. ghost added
    legacy-area-controls
    on Jun 16, 2022
  11. added
    s/verified
    s/triaged
    on Jul 1, 2022
  12. kristinx0211 commented on Jul 1, 2022

    @kristinx0211

    verified repro on android.

  13. 8 remaining items

  14. added this to the Backlog milestone on Jun 6, 2023
  15. moved this to In Progress in MAUI SDK Ongoingon Jun 6, 2023
  16. self-assigned this
    on Jun 6, 2023
  17. modified the milestones: Backlog, on Jul 26, 2023
  18. removed
    legacy-area-controls
    on May 10, 2024
  19. modified the milestones: , Backlog on Aug 2, 2024
  20. jfversluis commented on Sep 24, 2025

    @jfversluis
    Member

    The PR associated for this was merged so I'm assuming this is fixed in recent versions, if not, please let us know!

  21. locked and limited conversation to collaborators on Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-controls-webviewplatform/androidt/bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions