Override system player events for safari.

Hello. I’m working on safari app extension which control playback mediatems in music.yandex.com service. Unfortunately keyboard media keys does’t support yandex music service. It is possible to override system player events for safari?

I planned to make my app a Now Playing App, but when playing media in safari, the browser itself becomes Now Playing App and intercepts media key events. Can this behavior be overridden?

Thank you.

Override system player events for safari.
 
 
Q