Embedding the Wheel
Can I embed Spin the Names on my website?
Yes! You can easily embed a Spin the Names wheel on your own website, blog, or online platform. This is perfect for:
- Teachers who want to include interactive elements in online lessons
- Content creators looking to add engagement to their websites
- Event organizers creating interactive online experiences
- Businesses running promotions or contests
- Anyone who wants to share a specific wheel configuration
How to Embed a Wheel
There are two ways to embed a wheel on your website:
Option 1: Embed a Shared Wheel
- Create and customize your wheel as desired
- Save your wheel to your account (requires login)
- Click the "Share" button to generate a shareable link
- In the Share dialog, click the "Embed" tab
- Copy the provided iframe code
- Paste the code into your website's HTML where you want the wheel to appear
<iframe src="https://spinthenames.com/shared/ABC123" width="600" height="600" frameborder="0" allowfullscreen></iframe>
Option 2: Embed with Custom Configuration
For more advanced users, you can embed a wheel with a custom configuration directly:
- Add the iframe code to your HTML
- Include your wheel configuration as URL parameters
<iframe src="https://spinthenames.com/embed?names=Option1,Option2,Option3&colors=ff0000,00ff00,0000ff" width="600" height="600" frameborder="0" allowfullscreen></iframe>
Customizing the Embedded Wheel
You can customize the appearance and behavior of your embedded wheel:
Size Attributes
Adjust the width and height attributes in the iframe tag to fit your website:
width="600" height="600"
URL Parameters (for Option 2)
Parameter | Description | Example |
---|---|---|
names | Comma-separated list of names/options | names=Red,Blue,Green |
colors | Comma-separated list of hex colors (without #) | colors=ff0000,00ff00,0000ff |
hideTitles | Set to 1 to hide wheel title | hideTitles=1 |
autoSpin | Set to 1 to automatically spin on load | autoSpin=1 |
Embedded Wheel Limitations
Please note the following limitations with embedded wheels:
- Some features may be restricted in embedded mode for security reasons
- The embedded wheel will inherit your saved settings if using a shared wheel link
- Users cannot save changes made to the embedded wheel
- Custom sound options may be limited in some browsers
Terms of Use for Embedded Wheels
When embedding Spin the Names on your website:
- You may not modify the wheel's functionality or appearance beyond the provided options
- The Spin the Names logo and attribution must remain visible
- You may not use the embedded wheel for illegal activities or in violation of our Terms of Service
- For commercial usage with high traffic volumes, please contact us at ash@spinthenames.com