0 Replies Latest reply on Dec 1, 2009 9:27 PM by tyjohnston

    Default Duration with RTMPPosterFrame and VideoElement in Serial


      I'm not completely sure I understand how to implement defaultDuration.  I have 2 MediaElements in a SerialElement:






      I give serialElement a default duration:


      serialElement.defaultDuration = someData.Duration;


      If I listen for:


      mediaPlayer.addEventListener( TimeEvent.DURATION_CHANGE, onDurationChange );
      mediaPlayer.addEventListener( TimeEvent.CURRENT_TIME_CHANGE, onCurrentTimeChange );


      TimeEvent.DURATION_CHANGE does not fire, and TimeEvent.CURRENT_TIME_CHANGE gives me a steady NaN.  Maybe I'm just misunderstanding how defaultDuration is supposed to be used?


      I would like to show the defaultDuration of my serialElement while the posterframe is showing.


      Thank you!