This update provides a webhook-based mechanism that developers can use to define playback policies that will control access to videos. With a webhook-based playback policy, it is possible to define arbitrary conditions under which a user will be allowed (or not allowed) to view a video.
In addition to enable arbitrary access control logic (ACL), this capability allows developers to easily token-gate videos using the method that is most suitable to their workflow (e.g., Lit Protocol, Unlock Protocol, bespoke implementation, etc).
We've created several guides to illustrate suggested usage of playback policies:
In addition, we've created a sample application using Lit Protocol key management to illustrate a simple token-gating use case.