开发者

How do I run a .flv in full resolution, using the video class?

开发者 https://www.devze.com 2023-01-31 00:59 出处:网络
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

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;
0

精彩评论

暂无评论...
验证码 换一张
取 消