Welcome Guest Search | Active Topics | Sign In | Register

youtube full screen problem Options
aven
Posted: Tuesday, November 27, 2018 5:20:38 AM
Rank: Newbie
Groups: Member

Joined: 11/27/2018
Posts: 2
I download EO.Total.2018.3.46.0 and test eo.webbrowser in c# winform,
This is a simple browser program.
My pc has dual monitor,
I run this program on primary screen and move it to second screen.
when I browser youtube video and activate youtube full screen mode,
the full screen displayed on primary screen, not on second screen.
But if I run this program on second screen, it will display on second screen.
how to slove it?
eo_support
Posted: Tuesday, November 27, 2018 12:23:35 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

You can handle the WebView's FullScreenModeChanged event and do the following inside the event handler:

1. If e.Fullscreen is true, then create a new Form on your second monitor, and set e.Parent to this new form. This way the browser engine will use your Form instead;
2. If e.Fullscreen is false, close the Form you created in step 1;

Please let us know if this works for you.

Thanks!
aven
Posted: Wednesday, November 28, 2018 12:23:34 AM
Rank: Newbie
Groups: Member

Joined: 11/27/2018
Posts: 2
This is a great idea.
I follow it and slove this problem.
Thank you very much.
eo_support
Posted: Wednesday, November 28, 2018 10:38:35 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Great. Glad to hear that it works for you!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.