cDima / Aerial

Aerial Apple TV screen saver for Windows
1.97k stars 180 forks source link

Fix for black bars around videos #14

Closed alistairmcmillan closed 8 years ago

alistairmcmillan commented 8 years ago

There doesn’t seem to be an option for the Windows Media Player control to fill the screen eliminating black bars.

So here is little hack to get it working.

Get the aspect ratio of the videos. Use that to calculate the target width of the form necessary for the video to fill the height. Finally adjust the position of the form to the left the required amount to centre the video.

Hopefully there is a smarter way to do this. But if not…

alistairmcmillan commented 8 years ago

Potential fix for #2 .

cDima commented 8 years ago

Thanks @alistairmcmillan - a more refactored version was already committed to the main branch.