xgplayer icon indicating copy to clipboard operation
xgplayer copied to clipboard

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

Open talksmallice opened this issue 1 year ago • 2 comments

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

talksmallice avatar May 10 '24 01:05 talksmallice

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

gemxx avatar May 14 '24 09:05 gemxx

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Aug 12 '24 10:08 github-actions[bot]

This issue has been automatically closed after a period of inactivity. If it is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Sep 11 '24 10:09 github-actions[bot]