Skip to main content

How to show the first frame?

Products: Media Player SDK .Net

If you want to show the file's first frame preview to the user, you can set the Play_PauseAtFirstFrame property to true before the Play/PlayAsync call.

If the property is set to true, the player will pause at the first frame of the video file. If not, the player will start playing the video file.

Sample code

// create player and configure the file name
// ...

// set the property to true
MediaPlayer1.Play_PauseAtFirstFrame = true;

// play the file
await MediaPlayer1.PlayAsync();

Required redists

  • Base redist
  • SDK redist

How can the required redists be installed or deployed to the user's PC?


Visit our GitHub page to get more code samples.