flex - Flex4: Detect source Video size VideoPlayer? -


is possible in flex 4's videoplayer control (spark.components.videoplayer) detect attributes of source video?

in case, it's local file. need detect original width , height of input source video (an h264 f4v).

thanks

you can info videowidth , videoheight properties of video object contained within video player, example:

//assuming have videoplayer object id of "videoplayer" videoplayer.videoobject.videowidht; videoplayer.videoobject.videoheight; 

hope helped.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -