1. Home
  2. Knowledge Base
  3. OEM
  4. Samsung
  5. How to Set or Clear the Default Media Player on Samsung Knox Devices Using SureMDM
  1. Home
  2. Knowledge Base
  3. SureMDM
  4. Android Management
  5. How to Set or Clear the Default Media Player on Samsung Knox Devices Using SureMDM

How to Set or Clear the Default Media Player on Samsung Knox Devices Using SureMDM

On Samsung Knox devices, we can set or clear the Default media (video) player using Run Scripts.

Use Case 

By setting a specific media player app as the default, we can:

  • Ensure a consistent playback experience across devices. 
  • Prevent users from using unapproved or unsecured apps for video playback.
  • Reset default app behavior when needed.

Purpose

This article explains how to select a specific App as a default media player for Samsung devices.

Prerequisites

Samsung KNOX should be enabled

Steps

Run Scripts

  1. To. Remove the Default Video Player 

Use this script to clear the current default media player for video playback:

!#suremdm

SetDefaultApp(PLAY_VIDEO,clear)

  1. Set a Specific App as the Default Video Player 

Use the following script to set a supported app as the default media player:

!#suremdm

SetDefaultApp(PLAY_VIDEO,package_name,activity_name)

Parameters:

  • package_name: The full package name of the app (e.g., com.mxtech.videoplayer.ad)
  • activity_name: The main activity class of the app (e.g., com.mxtech.videoplayer.ad.ActivityScreen)

Example:

!#suremdm

SetDefaultApp(PLAY_VIDEO,com.mxtech.videoplayer.ad,com.mxtech.videoplayer.ad.ActivityScreen)

1.   On the SureMDM Console, click on Job > New Job > choose Android > click on Run Script Job.

2. Enter the Job Name, and in the text box, enter the Script

3. Select Save to save this Job.

Applying the Job to Devices 

  1. Navigate to the SureMDM Home page.
  2. Select the desired device(s) or Group of devices

Select the Apply button (or Group-Apply button) and apply the above-created job.

Need help?

CONTACT US

Was this helpful?
YesNo
Updated on October 2025
Need Support?
Can't find the answer you're looking for?
Contact Support