Modify 2d player default zoom functionality

We are looking to modify the default zoom functionality of the 2d player. How it is currently, the page will not scroll when the cursor is over any part of the player is not a behavior we particularly prefer. Is there an API to change the default functionality?

Can you see if removing any of the default tools fixes the scroll issue? Doc here

Yes, removing the zoom tool fixes the scrolling issue. Is there any other way to interact with the way the zoom works other than just enabling/disabling it? For instance, if we wanted to implement a pinch zoom on mobile, would that be possible?

You’d likely have to create a custom handler for that and use one of our client APIs. Doing a quick search it appears that you can enable the private player API and update the zoom. The method for updating the zoom would be:

player.enableApi('player').translator.zoom(1) // 1 is the zoom factor