Skip to content

WebAssembly and CSP

Fills, lines and BitmapData’s filters and pixel operations are computed by @swf2es/native/render’s Wasm module, which the page must let compile: with WebAssembly SIMD, and under a CSP with 'wasm-unsafe-eval'. Include that entry in the import map: the player loads it with itself, so a page without it has no player. Where it cannot compile, the SWF does not play, and the element says why.