locked
Storyboard MediaElement - Cannot use AutoReverse RRS feed

  • Question

  • Hi, I cannot seem to get my video to rewind automatically after it's finished.
    I tried settings the Autoreverse to True, but I get an error message saying that

    "Clocks with CanSlip cannot have parents or ancestors with AutoReverse, AccelerationRatio, or DecelerationRatio."

    Why is this? Can I achieve it in another way?

    The codepart that throws the error looks like this:

    VideoA.Begin(thistrue); 

    It is because I'm not using DoubleAnimation? Surely there must be a way of having a WMV-file autorewind after it's finished?
    Sunday, March 1, 2009 12:09 AM

All replies

  • Bumpy
    Tuesday, March 3, 2009 11:05 PM
  • Hi Kenny,
    Here's how I got my MediaElement to loop/review forever.
    http://www.marlonvalenzuela.net/?p=28

    From my research, it should work for you; the solution is to simply stop the playback using Stop() and start it up again using Play()
    I'm a flash guy but essitially, Stop sets the time to 0 (in flash video.seek(0))
    Friday, March 6, 2009 5:04 PM