Search code examples
javascriptweb-servicesjwplayerjwplayer7

jwplayer custom header with token for authorization


We want to use jwplayer for playing some mp4 files. These files have got from web-service cross domain with methods Get or Set. How we can set authorization header for jwplayer in its own request to get the video file ? The header is for sending current token.

thanks for any reply


Solution

  • The JW Player content service includes a security feature that allows you to restrict public access to videos or to videos plus players. This feature is enabled in the dashboard. When enabled, content can only be requested by constructing so-called signed links. These links will expire after a short time, preventing unauthorized sharing or leeching of your content. You can find documentation on URL token signing here.