cancel
Showing results for 
Search instead for 
Did you mean: 

Confusion: stopping a repeat Video

Marc_LM
Associate III

I am exploring the video API and I found a strange behaviour.
While testing "Video example", I added a stop button.
I was expecting the stop to update its frame to the start of a video but that did not happen.
I had to *.showFrame(1) to force the update.

If a video is marked as Repeat-able[1], shouldn't stop[2] reset the image to the start of the video?

Note: I cannot test my suggestion as this is par of generated code.


[1] *.setRepeat(true); // *ViewBase
[2] Suggestion:
setCommand( _, STOP, _)
    stream.isShowingOneFrame = stream.repeat;  // force update on repeat stream?
    stream.doDecodeNextFrame = stream.repeat; //

0 REPLIES 0