开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜