GuidesAPI ReferenceRelease Notes
HomeLog InHome
Release Notes

0.18.0 - Web

Added

  • setBeforeContentPlayCallback API: New method to intercept and modify video URLs before content playback
    • Enables URL tokenization for protected video content
    • Supports both synchronous and asynchronous callback functions
    • Automatic fallback to original URL on callback errors
    • Requires enableClientPlaybackModification: 'true' in app configuration

New Interfaces

  • BeforeContentPlayContext: Contains the original video URL to be processed
  • BeforeContentPlayResult: Contains the modified URL for playback
  • BeforeContentPlayCallback: Function type for URL modification callbacks

Use Cases

  • Token-based authentication for protected content
  • URL signing with time-limited access tokens
  • Dynamic CDN endpoint selection
  • Analytics parameter injection
  • DRM and content protection integration

Breaking Changes

  • None

Notes

  • Callback execution should be kept minimal to avoid playback delays