Iframe API
This page is designed to assist you in seamlessly embedding a design you've created on app.chanceseed.com into your website.
You simply need to create an <iframe>
HTML tag and place it on your website or WordPress.
The URL has the following format:
https://app.chanceseed.com/b/BOX_ID
The <iframe>
tag below would load a 640x640px player that would play the widget with id 64068cba1bd213d50f95704b
<iframe id="csplayer" width="640" height="640" style="border: none;" scrolling="no"
src="https://app.chanceseed.com/b/64068cba1bd213d50f95704b?embed=1"
frameborder="0"></iframe>
Supported parameters
All of the following parameters are optional.
Parameters | Usage |
---|---|
controls | This parameter indicates whether the video player controls are displayed:
|
decoration | This parameter indicates whether the decoration all text and images are displayed
|
background | This parameter indicates whether the background image is displayed
|
sound | This parameter indicates to turn on or off the sound
|
logo | This parameter indicates whether the logo are displayed:
You need a Pro plan to use this parameter |
tracking | This parameter indicates whether we send a tracking event to our chancseed server when user play the game. We only collect result item of the game to report on analytics.
|
embed | A short hand version of controls, background and decoration
|
p_{custom} | all params start with |
Example
that code below will create a player with no controls, no sound and no background,
<iframe id="csplayer" width="640" height="640" style="border: none;" scrolling="no"
src="https://app.chanceseed.com/b/64068cba1bd213d50f95704b?controls=0&sound=0&background=0&[email protected]"
frameborder="0"></iframe>