Displaying 16:9 and 4:3 video in Flash
Posted on 2008-10-15
I am using the NetConnection object to stream video to an Actionscript-controlled video container. If I set the dimensions of the video container to 596x336 (16:9) and I display a 4:3 video in that container, the 4:3 video is stretched to fit the 16:9 video dimensions.
Is there a way to set the 16:9 video container to play 4:3 video without stretching the video? Ideally, if 4:3 video is played inside the 16:9 container, the 4:3 video is not stretched and displayed with the proper dimensions in the center of the 16:9 holder.
What's the best solution?