...
Code Block |
---|
language | xml |
---|
theme | Eclipse |
---|
title | Correct widget code example |
---|
|
<iframe
name="Cutwise Player"
width="640"
height="640"
sandbox="allow-same-origin allow-scripts allow-orientation-lock allow-pointer-lock allow-presentation"
src="https://cutwise.com/widget/video/6_T898?size=640&sp=51&autoplay=1"
allowfullscreen
></iframe> |
Parameters
Parameter name | Available values | Default | Sample | Description |
---|
PRODUCT_CID |
| — | https://cutwise.com/widget/video/6_T898 | Stone Concatenated ID to embed. You can see it in cutwise diamond page URL: https://cutwise/diamond/6_T898 PRODUCT_ID included two parameters: <vendorid>_<stoneid>. If value has the symbol "/" – you need use "%2F" value, for example: <vendorid> = 6 <stoneid> = T8/98 PRODUCT_CID = 6_T8%2F98 Link for embedding = https://cutwise.com/widget/video/6_T8%2F98 |
AUTOPLAY | 1, 0 | 0 | ...&autoplay=1&... | This parameter specifies whether the initial video will automatically start to play when the player loads. |
MEDIA_SIZE | 320, 480, 640, 960 | 480 | ...&size=480&... | Size of a player block should corresponds to iframe size |
SETUP_PRESET_ID | integer ID | first video on diamond page | ...&sp=43&... | This parameter specifes what video will be played for current PRODUCT_CID. Currently supported video are (only if this video available on product page): SetupPreset ID | SetupPreset Title |
---|
1 |
|
Full Rotation (Girdle)Full Rotation (Pavilion)ViBox 360 | 3 | ViBox Vertical Swinging |
|
(Girdle)Swinging (Pavilion)ViBox Swinging | 5 | ViBox Fire Mono | 6 | ViBox Office Mono | 21 | ViBox Fire |
|
Light 8-Video Light 8-Video | 23 | Darkfield Swinging (Crown |
|
)24 | Brightfield Swinging (Pavilion25Darkfield Swinging (Pavilion) | Gyroscope VideoGyro | 32 | Darkfield Gyro | 33 | Vibox Fire Gyro |
|
Fire 34 | ASET White 8-Video |
35 | Fluorescence 8-Video |
36 | White Dome 8-Video |
4038 | Fluorescence Live Photo | 41 | Office Live Photo | 43 | DiBox 2.0 |
|
Office 8-Video43 | DiBox 2.0 Fire 8-Video StereoFire | 44 | Fire Live Photo | 45 | DiBox 2.0 Office |
|
8-Video Stereo46 8-Video48 | DiBox 2.0 Darkfield Crown 8-Video |
51 | Live Photo | 51 | Darkfield | 53 | Pavilion Color Lab Live Photo | 60 | Brightfield |
|
DiBox 2.0 Darkfield Crown 8-Video StereoCutwise Widget Versions History
...