rive-wasm
rive-wasm copied to clipboard
CSP problem in angular
Description
The problem I'm facing seems to be related to the Content Security Policy (CSP) and even though I've installed the library, it still sends requests and I get a CSP error.
Provide a Repro
<canvas riv="vehicles" width="500" height="500"> <riv-animation name="idle" play></riv-animation> </canvas>
Expected behavior
I expected the Rive animation to load and play without being blocked by the CSP.
Browser & Versions (please complete the following information)
- Framework : Angular
- NPM Version: 20.16.0
Hi @Ariamoradi1, see this FAQ section as it may resolve the issue for you.