videogular2 icon indicating copy to clipboard operation
videogular2 copied to clipboard

playbackRate custom values doesn't respect current speed

Open bhenderson opened this issue 6 years ago • 0 comments

Description

playbackIndex is preset to 1, regardless of playbackValues passed in.

Expected Behavior

If I set playbackValues to [1,2,4,8], and the media playback rate is 1, clicking the button should change to 2

Actual Behavior

The playback rate is set to 4

I recognize that the current playback rate of the media might not be a provided option. I'm not sure what to do in that case. Probably just default to 0.

bhenderson avatar Feb 26 '19 18:02 bhenderson