Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
541 views
in Technique[技术] by (71.8m points)

angular - Iframe video wont go fullscreen in electron app but does in a browser

Okay so, I need to know which setting do I need to tweak for electron to allow iframe's video to go fullscreen as it does in a normal browser. None of which I found in the documentation. I'm on windows, here are my settings:

<iframe allowfullscreen allowFullScreen="true" webkitallowfullscreen="true" mozallowfullscreen="true" scrolling="no" [src]="matchData[0].link | safePipe" frameborder="0"></iframe>

My main.ts settings

Current behaviour: No matter what video player or link i use, when i click the fullscreen function in a player the whole app goes to the top left corner of the screen and the desktop stops responding to the clicks. Its like it became fullscreen so when i press escape it goes back to normal.

question from:https://stackoverflow.com/questions/65938404/iframe-video-wont-go-fullscreen-in-electron-app-but-does-in-a-browser

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...