I'm using a ParallelElement with multiple videos. How can I get each videos dimensions? There is no width/height attribute for a VideoElement and I had no luck using the metaData either. Seems like such a basic task but I've been trying for hours now.
I guess correct video size is available only after metadata arrives (after playback start). To get video size try to acquire DisplayObjectTrait of VideoElement and look into mediaWidth/mediaHeight values.
You may want to listen to DisplayObjectEvent.MEDIA_SIZE_CHANGE events from that display object trait - it fires when video metadata arrives.
thx - works well!