[SOLVED] Full Screen limit to browser size.

jcortes63

Commendable
Apr 3, 2018
5
0
1,510
When playing a video, if i click on the full screen icon, I want that full screen limited to the size of the browser and not the total full screen. It is that possible?
thanks in advance.
JCortes.
 
Solution
Possible - yes I think so.

Probably more than you want to get into unless you or someone you know is familiar with PowerShell.

You can "Get" the browser screen information using a cmdlet.

First the Get via:

https://gallery.technet.microsoft.com/scriptcenter/Get-the-position-of-a-c91a5f1f

Then you would "Set" the video window using another cmdlet

https://gallery.technet.microsoft.com/scriptcenter/Set-the-position-and-size-54853527

Using the applicable variables to pass the necessary values from the Get to the Set.

I.e., the browser's window information is used to control the video window's size.

I can generally follow the logic in the links but I am very much in the learning stages of PowerShell.

Need a few cold...

Ralston18

Titan
Moderator
Possible - yes I think so.

Probably more than you want to get into unless you or someone you know is familiar with PowerShell.

You can "Get" the browser screen information using a cmdlet.

First the Get via:

https://gallery.technet.microsoft.com/scriptcenter/Get-the-position-of-a-c91a5f1f

Then you would "Set" the video window using another cmdlet

https://gallery.technet.microsoft.com/scriptcenter/Set-the-position-and-size-54853527

Using the applicable variables to pass the necessary values from the Get to the Set.

I.e., the browser's window information is used to control the video window's size.

I can generally follow the logic in the links but I am very much in the learning stages of PowerShell.

Need a few cold snowbound at home days to delve into the specifics.... :)
 
Solution