I have an application, implemented using the Flash Video class. How do I make it run a .flv video in full resolution? All vi开发者_如何学Pythondeos are running in the default 320x240 resolution.
Check the documentation: You can instantiate the Video object with a given width or height. Here is the way to find out the original width and height of the file you are playing: Use the videoWidth and videoHeight properties.
video.width = video.videoWidth;
video.height = video.videoHeight;
精彩评论