Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能支持header里面添加授权吗,token直接放URL有泄漏的风险 #1428

Open
talksmallice opened this issue May 10, 2024 · 1 comment

Comments

@talksmallice
Copy link

能支持header里面添加授权吗?token直接放URL有泄漏的风险

@gemxx
Copy link
Collaborator

gemxx commented May 14, 2024

@talksmallice 请问使用的是xgplayer还是xgplayer的插件?xgplayer直接使用video播放,只能通过同源设置请求cookie的方式去携带信息,不支持修改其他请求header。如果是xgplayer的插件(xgplayer-hls/xgplayer-flv/xgplayer-mp4),采用JS的方式下载是可以修改的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants