2 Replies Latest reply on Sep 24, 2010 7:41 AM by eneiner

    I need to determine if a mp4 is playing in flex

    eneiner Level 1

      I am building a video player in Flashbuilder 4 (Flex 4.1) that supports .flv and .mp4 and need to know how to determine if an .mp4 file is playing in flex so I can have other events work off of it.



      My player is of type <s:VideoDisplay id ="player"...>


      Here's my code:



      if (!player.playing)






      This code works for the .flv files but for the streaming .mp4's this doesn't work. Does anyone have an idea on how I can get this working for .mp4's also?