8 Replies Latest reply: Jul 12, 2013 9:25 AM by the Masked Mushroom RSS

    Bug when seeking in "ready"-event?

    Peter Heimelin Community Member

      Hello everyone!

       

      I can't browse the bug-database at http://bugs.adobe.com/jira/browse/ST, it seems offline right now.

       

      I've stumbled across a small bug: When I want to start playback of a video at a certain position, I'm putting a setCurrentTime()-call in the mediaPlayerStateChange-callback when the "ready"-event is received.

       

      This works fine, however then the seeked position is position 0 in the video, which means that getCurrentTime() reports 0 and

      setCurrentTime(0) doesn't seek to the beginnig of the file but to the position seeked to in the ready event.

       

      Maybe this a feature, but it's very unexpected behaviour.

       

      I can seek in the "playing"-event, but then unnecessary data is buffered.

       

       

      Thanks