sajja swathi

sajja swathi

  • 1.5k
  • 230
  • 1.8k

How to change the aspect ratio of an Windows media player by using C#

Jul 30 2020 6:14 AM
Watching a Video on windows media player will produce black bars on the left and right.
  1. this.MPlayer.stretchToFit = true;  
  2. AxWindowsMediaPlayer mPlayer = this.MPlayer;  
  3. mPlayer.URL = "Location of a file";  
Below attached file output of the code.
 
Please suggest me how to change the aspect ratio of an Windows media player.

Attachment: Sample.rar