App terminate when press back hardware back button on iframe youtube fullscreen

when youtube is played on portrait , fullscreen user press back button , then app is killed.

it’s totally weird because app is not killed when horizontal fullscreen mode, but terminated on portrait full screen mode…

<iframe frameborder="0" 
                    webkitallowfullscreen mozallowfullscreen
                    allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen

                     width="90%" height="280"
                    [src]="a.url">
                    </iframe>

Hi, did you find any solution?

I am facing the same problem with iframe from youtube and facebook embed videos.

no…not yet…still looking for solution

This issue sucks. Is there a workaround

Hi, I just disabled the fullscreen mode so the video will not play on fullscreen. but I didn’t find any proper solution.

Did you try to subscribe to the Back Button and execute your own Code there? For testing: Try to so nothing, just log out that the Back Button was clicked