summaryrefslogtreecommitdiffstats
path: root/assets/js/global.js
blob: efb447fb9f55cfe86ee2787042677d401aa5ea42 (plain)
1
2
3
// Disable Web Workers. Fixes Video.js CSP violation (created by `new Worker(objURL)`):
// Refused to create a worker from 'blob:http://host/id' because it violates the following Content Security Policy directive: "worker-src 'self'".
window.Worker = undefined;