Jump to content

How to change spline viewer embed size

Recommended Posts

I used the Spline Viewer Integrated Embed code to add Spline to my website. Here is the code:

<script type="module" src="https://unpkg.com/@splinetool/viewer@0.9.314/build/spline-viewer.js"></script>
<spline-viewer hint url="https://prod.spline.design/GtJ1raVhyFC17AGC/scene.splinecode"></spline-viewer>

However, the embed size is off and does not cover the entire model as I would like. I am unable to change the embed size.

The only workaround I found is embedding Spline as an iframe and set the pixel size, which is unresponsive—hoping for some help!

 

Link to comment
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.