rive-wasm icon indicating copy to clipboard operation
rive-wasm copied to clipboard

CSP problem in angular

Open Ariamoradi1 opened this issue 1 year ago • 1 comments

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

Ariamoradi1 avatar Aug 10 '24 11:08 Ariamoradi1

Hi @Ariamoradi1, see this FAQ section as it may resolve the issue for you.

HayesGordon avatar Aug 12 '24 13:08 HayesGordon