简体   繁体   English

具有授权令牌的jwplayer自定义标头

[英]jwplayer custom header with token for authorization

We want to use jwplayer for playing some mp4 files. 我们想使用jwplayer播放一些mp4文件。 These files have got from web-service cross domain with methods Get or Set. 这些文件是使用方法Get或Set从Web服务跨域获得的。 How we can set authorization header for jwplayer in its own request to get the video file ? 如何在自己的请求中为jwplayer设置授权标头以获取视频文件? The header is for sending current token. 标头用于发送当前令牌。

thanks for any reply 感谢您的任何答复

The JW Player content service includes a security feature that allows you to restrict public access to videos or to videos plus players. JW Player内容服务包含一项安全功能,可让您限制对视频或视频加播放器的公共访问。 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 . 您可以在此处找到有关URL令牌签名的文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM