WebClient: use standard HTML5 video tag

video-js does not work well with CSP

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-11-17 21:42:22 +01:00
parent 1a765c7ff7
commit 50a9ac0163
5 changed files with 8 additions and 81 deletions

View File

@@ -18,7 +18,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
{{define "title"}}{{.Title}}{{end}}
{{- define "extra_css"}}
<style>
<style {{- if .CSPNonce}} nonce="{{.CSPNonce}}"{{- end}}>
.shortcut {font-family: monospace; color: #666;}
.cm-editor {
height: 100%;