You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The speed & volume are attributes that options props received, so you can store them in the state (or ref) conditionally and re-render your component with new speed. Is that solve your problem?
Plyr has setters and getters:
I would like to use shortcuts to change the playing speed.
According to the above examples, with plyr this would be done with
player.speed = 1.8
But since I am using the forwarded ref from a custom plyr instance I've tried it like this:
I've gotten the error message that the left-hand side of the argument is invalid and realized that setting on a ref is pointless
So do I use plyrs setters in my situation?
The text was updated successfully, but these errors were encountered: