Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are two types of blocks with diamond information from Cutwise that can be embedded in website in website pages, forum messages, web systems and platforms or online-presentations:.

  1. Cutwise Widget shows all captured videos and photos along with Optical MetricsPerformance Scores
  2. Cutwise Player shows one pre-selected video\image from ViBox or DiBox

Both blocks contain Cutwise player with following features:

...

...

(warning) Only diamonds published on Cutwise can be shown in Cutwise Widget (status is set to Published).

...

Embed a Cutwise Widget using an <iframe> tag. Define an  <iframe>  tag in your application in which the src URL specifies the content that the widget will load as well as any other widget parameters you want to set. The The <iframe>  tag's width and height parameters specify the dimensions of the widget. We strongly recommend to set width and height as set in the Predefined Templates table below. 

Code Block
languagexml
themeEclipse
titleWidget Embedding template
<iframe
	name="Cutwise Widget"	
	width="{WIDGET_WIDTH}"
	height="{WIDGET_HEIGHT}"
	frameborder="0"
	src="https://widget.cutwise.com/{TEMPLATE_NAME}/v1/{CUTWISE_ID}?template={TEMPLATE_CODE}&autoplay={AUTOPLAY}"
	allowfullscreen
></iframe>

...

Parameter nameAvailable valuesDefaultSampleDescription

CUTWISE_ID


https://widget.cutwise.com/performance/v1/333?template=media-metrics-v1&autoplay=1
        

Product ID to embed. You can see it in cutwise diamond page URL: https://cutwise/diamond/ 333

Link for embedding = https://widget.cutwise.com/performance/v1/333?template=media-metrics-v1

AUTOPLAY

1, 0

01

...&autoplay=1&...

This parameter specifies whether the initial video will automatically start to play when the player loads.

AUTORESIZE1, 01...&autoresize=0&...

Enable or disable autoresize listeners. If autoresize parameter is enabled, Cutwise Widget will resize automatically based on iframe width and height parameters.

This parameter affects only media-v1 template.

Predefined Templates

Predefined Templates

More information about Cutwise Widget types: 

Template codemedia-metrics-v1
Template nameExample linkWidth, pxHeight, pxAppearance
performancehttps://widget.cutwise.com/performance/v1/337480640

Image Removed

Image Added

320

500

Image Added

visualhttps://widget.cutwise.com/visual/v1/333media-v1480580

320420

reporthttps://widget.cutwise.com/report/v1/386/1366768

Image Added

Usage example:

Code Block
languagexml
themeEclipse
titleCorrect widget code example
<iframe
	name="Cutwise Widget"
	width="480"
	height="640"
	frameborder="0"
	src="https://widget.cutwise.com/performance/v1/333?template=media-metrics-v1&autoplay=1"
	allowfullscreen
></iframe>


Live demo example:

https://files-cdn.cutwise.com/widget/video-metrics-demo-v1/index.html

...

VideoImage
SetupPreset IDSetupPreset TitleSetupPreset IDSetupPreset Title
1ViBox Vertical 3607Office Black
2ViBox 3609Office Gray
3ViBox Vertical Swinging10ASET Black
4ViBox Swinging11ASET White
5ViBox Fire Mono12IdealScope
6ViBox Office Mono13Arrows
21ViBox Fire14Hearts
22ViBox Office15Munsell Color Matching
23Darkfield Swinging (Crown)16Munsell Color Matching Close-up
28ViBox Fire Gyro17Clarity Diagram
32Darkfield Gyro18Office Inclusions
33Vibox Fire Gyro 2D31Fluorescence
38Fluorescence Live Photo42Table Color Outdoor
41Office Live Photo50Darkfield
43DiBox 2.0 Fire52Pavilion Color Lab
44Fire Live Photo54Fire
45DiBox 2.0 Office55Pavilion Fluorescence
47ASET Black Live Photo56Table Color Lab
51Darkfield57Table Color UV Free
53Pavilion Color Lab Live Photo58ASET Black Table Down
60Brightfield59Brightfield


61White Dome Table Down


64Table Color Lab Live Photo

...

Supported web browsers

  • Google Chrome (last version -3)
  • FireFox (last version -3)
  • Safari 11+
  • Microsoft Edge (last version -3)

Cutwise Widget Versions History

...

August 14, 2019

  • New types of Cutwise Widget: performance and report.
  • New templates name.
  • Adaptive layout.  
  • Bugfixes.

June 24, 2019

  • Added autoresize parameter for media-v1 template.
  • Added fullscreen view for iPad (iOs, Safari 12.2).
  • Bugfixes. 

March 18,

...

2019

  • Added autoresize settings in Cutwise Player.
  • Bugfixes. 

December 10, 2018

...

Cutwise Video Player:

  • Added HQ mode for high-dpi devices.
  • Added lazy loading.
  • Added support of plotting data.
  • Added demo mode.
  • Added autoplay.
  • Added support of scroll on touch devices.
  • Added various performance optimizations.
  • Support new browser versions.
  • Fixed fullscreen, stereo mode and zoom-mode related bugs, improved stability.

...

  • Added HQ Mode
  • Added support of adaptive layout of web pages
  • Changed color theme

November 1, 2018

...

  • Supported autoresize option;
  • media_size is deprecated now.

June 19, 2018

...

  • Added Cutwise Metrics template

April 15,

...

2018 

  • Initial Release
  • Embed a Cutwise player