-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Description
Feature Request 🛍️
Was wondering if we could add a scalechange event on the remotion player ref just like how timeUpdate and other events currently exist.
Use Case
I've been injecting the gesture controls for a wysiwyg editor into the player and since it contains controls/gesture-handles that need to be consistently sized regardless of the view port, I apply the inverse of the editorZoom to the controls, so the scaling of the video doesn't affect the controls and it cancels out.
However, adding more and more functionality is slowing down the application and I think that getting the zoom every few seconds would prove to be a major performance drain as I add more features. So having a scalechange event would be a life-saver here!
@JonnyBurger let me know if you want to assign me this issue, happy to add this 😊
Possible Solution
A scalechange event on the playerRef!