1 Reply Latest reply on Oct 26, 2012 9:14 AM by kglad

    external mp4 metadata


      I have a Actionscript 2.0 project exported as Flash Player 9. We're using the FLVPlayback component to play external mp4 videos. Most of the mp4 videos are the same size but there are some are varying sizes. The player is currently setup with fixed width and height but I'd like to be able to adjust the size of the playback component on the stage to match the actual size of the external video. Is there anyway to determine the external video's dimensions before displaying the playback component? I know how to dynamically change the size of the player - just not how to determine the external movie's dimensions. Thanks!



        • 1. Re: external mp4 metadata
          kglad Adobe Community Professional & MVP

          yes, there's a metaDataReceived event you can use:


          var lo:Object = new Object();

          lo.metadataReceived = function(eObj:Object):Void {




          flv_pb.addEventListener("metadataReceived", lo);