How to Rewind MediaElement

    General discussion

  • How does one rewind the video in a MediaElement? I am trying to build a player to play videos.

    False tries:
    - There is a method to play, pause, but none to rewind.
    - SpeedRatio can be used to mimic fast forwarding, but doesn't allow negative values to rewind.
    - A timeline, a clock, and a controller can be added to the MediaElement to control it better. However, none of these classes offer rewinding.
    • Changed type Marco Zhou Tuesday, July 22, 2008 10:22 AM OP doesn't revert back
    Tuesday, July 15, 2008 5:27 PM

All replies

  • You could set the MediaElement.ScrubbingEnabled property to true, and pause the MediaElement, and then periodically change its MediaElement.Position property backwards to mimic the rewinding behaviour.

    Hope this helps
    Friday, July 18, 2008 3:52 AM
  • We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by clicking the "Options" link at the top of your post, and selecting "Change Type" menu item from the pop menu. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.


    Thank you!

    Tuesday, July 22, 2008 10:21 AM
  • We ended up having a timer change the Position back. It is choppy compared to playing the movie forward at different speeds (slow and fast).
    Friday, October 17, 2008 9:40 PM