Edge Kiosk Mode - autoplay embedded video

David Hepburn 30 Reputation points
2024-04-02T03:57:48.52+00:00

I run IE in kiosk mode that calls a local HTM file that contains an embedded local video file. Works fine in IE.
I'm upgrading this to Edge and I run this:
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --kiosk --no-first-run --edge-kiosk-type=fullscreen "file:///C:/test/test.htm?color=white&video=video1.mp4&textvalue=12"

The problem is, when it's run in Kiosk mode, the video doesn't start playing. Remove the Kiosk options and it works fine. How can I get this to autoplay in Kiosk mode?

I've tried adding registry entry:
AutoPlayAllowed (dword) with a value =1 in "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge" but doesn't make any difference.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,355 questions
{count} votes

Accepted answer
  1. Yu Zhou-MSFT 13,591 Reputation points Microsoft Vendor
    2024-04-02T07:22:47.9066667+00:00

    Hi @David Hepburn

    Which version of Edge and Windows do you use? I test with enabling policy AutoPlayAllowed, it works well with kiosk mode.

    You can also try adding this flag --autoplay-policy=no-user-gesture-required, it works on my side with auto playing video in Edge kiosk mode:

    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --kiosk --no-first-run --edge-kiosk-type=fullscreen --autoplay-policy=no-user-gesture-required "file:///C:/test/test.htm?color=white&video=video1.mp4&textvalue=12"


    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

    3 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.