0 Replies Latest reply on Feb 21, 2011 12:26 PM by Amit Kumar

    When using SerialElement does not triggers MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE event

    Amit Kumar Adobe Employee

      Hi All,


      When I use SerialElement to play videos then I dont see MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE to be triggered. I am basically using this event to set inBufferSeek property as below :


      _mediaPlayerCore.addEventListener(MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE, onPlayingChange);





      function onPlayingChange(event:MediaPlayerCapabilityChangeEvent):void{


      var _loadTrait:NetStreamLoadTrait;


      if (event.type == MediaPlayerCapabilityChangeEvent.CAN_PLAY_CHANGE)


      _loadTrait = _mediaPlayerCore.media.getTrait(MediaTraitType.LOAD)

      as NetStreamLoadTrait;


      if (_loadTrait && _loadTrait.netStream)


      _loadTrait.netStream.inBufferSeek =






      If I use normal media element it gets triggered. Does anybody has clue why is it behaving like this?