Rive + Semplice

Semplice is a Wordpress portfolio tool but the .rive is not visible 😟 Here’s the code:

HTML Head:

<script src="https://unpkg.com/@rive-app/canvas"></script>

Code Module Editor:

<script>

      const r = new rive.Rive({
        src: "http://grzegorzsamson.pl/wp-content/uploads/2025/11/iio_salesforce_diagram_correction_2.riv",
        canvas: document.getElementById("canvas"),
        autoplay: true,
        autoBind: true,
		artboard: 'Artboard', 'buttons',
        //artboard: "Artboard", // Optional. If not supplied the default is selected
        stateMachines: "State Machine 1", "State Machine 1",
        onLoad: () => {
		  let boundInstance = rive.viewModelInstance;
          // Ensure the drawing surface matches the canvas size and device pixel ratio
          //r.resizeDrawingSurfaceToCanvas();
        },
      });

    </script>

Here is the page where it should be embedded (test page):

https://grzegorzsamson.pl/project/sfh?preview_id=1658&preview=true

You can download .riv form the link from the code.