0 Replies Latest reply on Oct 29, 2011 12:45 AM by Brezhnev29

    Calculating Time duration on OSMF Media Player based on Total bytes

    Brezhnev29

      Calculating Time duration on OSMF Media Player based on Total bytes

       

      if (sound && sound.length > 0)
      {
         var duration:Number = (sound.bytesTotal / (sound.bytesLoaded / sound.length)) / 1000;
      }

       

      How to get the Media Player ???

       

       

      Please anyone help me......