playvideos: improves Content-Security-Policy (CSP) compliance#2110
playvideos: improves Content-Security-Policy (CSP) compliance#2110thican wants to merge 1 commit intoshaarli:masterfrom
Conversation
nodiscc
left a comment
There was a problem hiding this comment.
While we're at it, couldn't we automate the download of https://code.jquery.com/jquery-3.7.1.min.js during frontend builds? Instead of vendoring a massive minified js file
Good idea, just I am not aware on how to make it work (yet?) but I approve this. |
|
I guess the plugin could be rewritten to discard usage of jquery, nowadays, no? I am not a Web dev so I might be wrong ;-) However I am a bit lost with the frontend build usage, I managed to integrate jquery with the correct version and verified its fingerprints, but is it okay then I load the JS script from its path |
e94cd36 to
f442975
Compare
f442975 to
b504e79
Compare
b504e79 to
41a1c28
Compare
This comment made me look at the whole jquery video player plugin situation i came up with a solution that might be worth it here |
Signed-off-by: Thibaud CANALE <thican@thican.net>
Improves situation for #1513.
I hope it can integrate milestone
0.14.0(#2105).