Skip to main content

VideoJS player example

This application demonstrates how to use Cloud Video Kit along with Video.js player (and videojs-contrib-eme extension) to play videos that are protected by DRM.

The app can handle different DRM systems on different browsers and devices, so it's a versatile solution for any video platform. For those who want to know more about compatibility and supported DRM systems, please visit: https://www.drm.cloud/platform-compatibility.

Github example respository link

The code provided in sample is designed to detect which DRM systems are supported by the user's browser and select the appropriate one for playback. This makes it easier for users to play DRM-protected videos without having to worry about compatibility issues.

Additionally, the app includes an express.js web server that generates DRM tokens and serves the webpage. This ensures that the videos are played securely and only by authorized users.