Windows 11 Kiosk Mode can't escape full screen video

Roy Beaulieu 21 Reputation points
2022-08-03T17:14:30.5+00:00

If a kiosk mode user enters Full Screen while playing a video, you can't get out of full screen. I've tested this with Vemo and YouTube videos.

To test:
Create kiosk account.
Set Edge as the program to run.
Set As a public browser.
Go to youtube.com and play a video.
Hit F to enter full screen. Hitting anything will not exit Full Screen. Escape, F11, F. Nothing I can find will exit full screen and return control back to the user.

We have training computers that require the user to watch a video and take a test. If the user full screens the video, the computer becomes useless. Only <CTRL><ALT><Delete> will get them out by ending the session.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,210 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,659 questions
0 comments No comments
{count} vote

3 answers

Sort by: Most helpful
  1. S.Sengupta 16,561 Reputation points MVP
    2022-08-04T00:39:00.05+00:00

    Try the command-line options...

    Ref: Configure Microsoft Edge kiosk mode

    0 comments No comments

  2. Yu Zhou-MSFT 12,621 Reputation points Microsoft Vendor
    2022-08-04T06:11:23.677+00:00

    Hi @Roy Beaulieu

    In the official doc, you will notice that the enter/exit fullscreen feature is blocked in Kiosk mode. So you can fullscreen the video (not browser) but cannot exit fullscreen.

    As a workaround, you can prevent users from pressing the fullscreen button. I suggest removing the fullscreen button using the following style rule:

    video::-webkit-media-controls-fullscreen-button {  
        display: none;  
    }  
    

    Or, you can use the following code to create a full-window video:

    <video controls style="width:100%; height:100%; object-fit:fill" src="video.mp4"></video>  
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    0 comments No comments

  3. Roy Beaulieu 21 Reputation points
    2022-08-08T19:47:24.37+00:00

    Thank you both for the responses.

    We do not have control over the training videos as some are on government sites.
    All videos have a little "full screen" option the users can, and often do, click on.

    While researching this issue, we were able to escape the Kiosk browser and then get full Admin rights on the test PC. With this in mind, and the inability to fix this "can't leave full screen" issue, we've scrapped Windows 11 Kiosk mode as a secure option and went with Porteus Kiosk for our sanity and security.

    Again, thank you for your time.