In order to allow videos to auto-play in Microapps on a Windows PC, the following solution can be implemented. This solution leverages Google Chrome flags being set for the URL by creating a shortcut.
-
Right-click the desktop background to pull up the context menu.
-
Create the shortcut to launch Chrome in Kiosk mode.
-
Browse to the Google Chrome.exe file.
Example path to Google Chrome:
"C:\Program Files\Google\Chrome\Application\chrome.exe" -
Add a space after the path to Chrome and within double quotations(“) insert the Direct Link to the Microapp
Example: "C:\Program Files\Google\Chrome\Application\chrome.exe"" "https://app.onfirstup.com/embed/<alphanumeric string>"
-
Append the following flags after the .exe and target URL. These flags launch the browser in kiosk mode and will allow the videos to play without needing to interact with them
--autoplay-policy=no-user-gesture-required --kiosk
-
The final product should be similar to the following:
"C:\Program Files\Google\Chrome\Application\chrome.exe"" "https://app.onfirstup.com/embed/<alphanumeric string>" --autoplay-policy=no-user-gesture-required --kiosk
-
-
Click Next to advance to the next section.
-
Name the shortcut. Click Finish.
NOTE: All instances of Chrome should be closed before attempting to launch the newly created Chrome shortcut to ensure Kiosk mode launches properly.
Comments
0 comments
Article is closed for comments.