Playing a Video While the Device is in Lockdown
Summary
Related SOTI ONE Platform Products
Related Device OS
Situation
SOTI MobiControl’s Lockdown mode allows organizations to restrict device functionality while still enabling specific apps or features as needed. In this case, a user requested to play a video directly from the lockdown screen. This was achieved by adding a properly formatted Intent item to the lockdown configuration.
Process Description
Information:
Device: Android (Samsung)
Use Case: Lockdown mode with video playback
Video Format: .mp4 (MIME type: video/x-ms-wmv)
Player App: Samsung native video player
Process:
1. Add an Intent Item in Lockdown Configuration
To enable video playback, the following Intent URI was added to the lockdown layout as a custom Intent item:
file:///sdcard/DCIM/Saint_Croix_Craftsmanship_120324.mp4#Intent;type=video/x-ms-wmv;component=com.samsung.android.video/.player.activity.MoviePlayer;launchFlags=0x4000000;end
2. Breakdown of the Intent Format
| Component | Description |
|---|---|
file:///... | Path to the local video file stored on the device (/sdcard/DCIM/...) |
type=video/x-ms-wmv | MIME type of the video |
component=...MoviePlayer | Launches Samsung’s built-in video player |
launchFlags=0x4000000 | Ensures the app opens in a new task |
3. Apply the Lockdown Profile
-
Save the lockdown configuration.
-
Deploy or update the lockdown profile on the targeted device(s).
Verification and Validation
After applying the updated lockdown profile:
-
The video icon appears on the lockdown home screen.
-
Tapping the icon launches the Samsung video player and playa the specified file without issues.
To prevent playback issues:
-
Ensure the video file exists on the specified path (
/sdcard/DCIM/). -
Verify that the video MIME type and player component are correct for the device model.
-
Test the intent manually outside lockdown before deploying.
Was this helpful?
Thanks for your feedback