I am using windows media player 9 and set the stretchtofit property to true.I find black areas on left and right side of video.My system has windows 10 and is set to 1280X720 resolution. I am using vs 2013.

Sample.jpg

Yup. I don't expect a fix to old versions as Microsoft leaves them behind. Checking Windows 10, Windows Media Player is version 12 so test against what many use today.

commented: i have already tried but same issue. +2

Then it appears you may have found limitations of Windows Media Player. Try something with some power to it like VLC Player.

I see {ritaeas also answered in your duplicate question. I suspect he's right.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.