ShinyStat Video Analytics can also be configured to analyze the videos implemented in HTML5.

ShinyStat Video Analytics for HTML5

To proceed, simply insert the code below in the page with the HTML5 video.

Code to insert in the HTML page with the HTML5 video.

Here’s the code to insert into your HTML web page with HTML5 video you want to analyze.

<script type=”text/javascript” src=”http://codicefl.shinystat.com/cgi-bin/getserver.cgi?USER=USER_SHINYSTAT&IDTAG=ID_TAG_VIDEO&CAT=ID_CATEGORIA&CODE=1000″>
</script>
.

USER_SHINYSTAT = ShinyStat User
IDTAG = unique video ID
CAT = video category ID (see account configuration panel) [*]

[*] Enter the ID of the category you want to associate with the video, shown in the “Video Category management” panel, by clicking on “Manage Account”>”configuration”>”Configure Video Categories” on the left menu. If you want to create categories to obtain data relating to groups of videos, we recommend setting it up before implementing the code.

Tag video configuration

Into video tag must be passed the following parameters:
sstitv = title assigned to video
ssidv = unique video ID

Below a correct setup example:

<video width=”640″ height=”360″ src=”trailer.mp4″ type=”video/mp4″ id=”ID_TAG_VIDEO” poster=”poster.jpg” sstitv=”Titolo_Video” ssidv=”43ab543″ controls=”controls” preload=”none” autoplay=”none”>
</video>
.

NOTE: ID_TAG_VIDEO into tag <video> code must be the same sent to the invocation javascript code (IDTAG)