How do I control through media session api in bitmovin player(v7)?

Currently, using the node of v12.22.12, the react project uses the encode & player function using bitmovin for the DRM media file. I’m trying to control media using media session api in this situation, but I don’t know what to do.

Hey @smartlearning,
First of all, you’re mentioning Bitmovin Player v7 in the title - Please upgrade to Bitmovin Player v8 by following our Migration Guide v7 to v8 as v7 in UNSUPPORTED per our Player’s Lifecycle Policy.

Once you’re done with the upgrade, you can check out the sample we have on Github for working with the Media Session API: bitmovin-player-web-samples/media-session-api at main · bitmovin/bitmovin-player-web-samples · GitHub
This should cover the basics on how to connect the Bitmovin Player and the Media Session API. Hope this helps.

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.