[IGN-6331] Perspective Video Player Start from Beginning

On 8.1.17, playing around with the VideoPlayer component. If I stop playing, uncheck play, is there a way to force playing from the beginning (reset progress to 0) once play is checked again?

I would use a change script attached to the props.status.paused property:

if currentValue and currentValue.value:
    self.props.controls.seek = 0

I’m confused, seek is always 0. I did try changing it to non-zero and back to zero but that didn’t seem to do any good.

Ah, @jlandwerlen You had me doubting myself!

  1. Don’t confuse props.status.seeked with props.controls.seek.
  2. It looks like there’s a bug that prevents seeking “backwards”, so you can’t set it to a previous time - only some time in the video which is ahead of the current time. This is going to prevent this exact use case.

I wasn't. props.controls.seek is the time in which the video should start playing. I have mine set to zero. It doesn't always start at 0. But, this isn't a huge deal.