Real Time Analytics Tools
ShinyStat - strumenti di analisi dell' audience internet
  • Azienda
    • ShinyStat
    • Contatti
    • Lavora con noi
  • Prodotti
    • ShinyStat Free
    • ShinyStat Pro
    • ShinyStat Business
    • ShinyStat ISP
  • Soluzioni
    • Web Analytics
    • Video Analytics
    • App Analytics
    • Mobile Analytics
  • Statistiche
  • Clienti
  • Siti Top
  • Blog

Il Blog di ShinyStat

  • EN
  • How to...
  • How to configure ShinyStat Video Analytics for JavaScript, Flash or Silverlight

Categorie Post

  • Academy (22)
  • How to… (33)
  • News (40)
  • Press release (38)
  • Research (21)

Parole più popolari

advertising analytics Android app app analytics Apple Barbieri be-wizard bewizard Blackberry Blogger brand reputation digital analytics dispositivi mobili Fabio Zecchini Gianluigi Barbieri iPad iPhone jimdo Joomla keywords mobile mobile analytics mobile application Myriam Latronico paolo zanzottera Politecnico Milano SEO sft Group ShinyStat ShinyStat App Analytics shinystat free ShinyStat su Joomla ShinyStat Video Analytics ShinyStat web analytics Symbian turismo video video advertising video analytics video online web web analytics web marketing Windows Phone

Search:


posted by Myriam Latronico in How to...

How to configure ShinyStat Video Analytics for JavaScript, Flash or Silverlight

If you use a Javascript Player to publish your video, you can install ShinyStat Video Analytics to analyze your multimedia content.

ShinyStat Video AnalyticsIf you have the source code of your player, you can set up ShinyStat Video Analytics in a few quick steps.

 

ShinyStat Video Analytics offers two versions depending on your needs:

  • Javascript version – ideal for:

– JavaScript, Flash and Silverlight players
– Players with different technologies
– Embedding the player within an iFrame

  • Adobe Flash version – ideal for:

– Players using only Adobe Flash technology.
The plugin is downloaded from any domain featuring an embedded player.
– Also ideal for those sites developed using Flash but which need internal video.

 

To correctly implement ShinyStat Video Analytics on a JavaScript player, the following code must be entered in the source of website pages:

<script src=”http://codicefl.shinystat.com/cgi-bin/getserver.cgi?USER=&CODE=101&RND=123″>
.

→ Plugin creation
Before proceeding, make sure that the plugin is completely downloaded and the initialisation code is present on the page.

To do this, make sure that the ‘codeVAReady’ variable is set to ‘true’ as in the following example:

//plugin creation to load code on the page (codeVAReady==true)
if(codeVAReady){
pluginVA = new videoAnalytics();
}

 

→ loadVideoAnalytics: initialisation function
After a ‘VideoAnalytics ()’ class instance is created, it must be initialised using the loadVideoAnalytics funtion with the following parameters:

Parameter Description
USER ShinyStat User
VIDEO ID unique video ID
FILE VIDEO URL full video url
TIT VIDEO title assigned to video
CATEGORY ID 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.

____________________________________________________________________________________________________________

//configuration function, to be called after plugin creation
pluginVA.loadVideoAnalytics(USER,ID VIDEO, VIDEO FILE URL,TIT VIDEO, CATEGORY ID,’ ‘,0);

Warning: the last two parameters should be unchanged (…,’ ‘,0) in the empty string and 0.

 

→ Configuration function

Function to be used on “Play” video

This function must be called when the “Play” button is clicked to start watching and after a stop event.
start(time)
time = DURATION_VIDEO
IMPORTANT: the DURATION_VIDEO variable should always be specified in milliseconds
// Function to call at the video start only if duration video is increased
pluginVA.start(DURATION_VIDEO);

 

stop: start video
Function used to pause/stop video playback.
pluginVA.stop();

 

seek: start video
Seek function during video playback.
//Seek function
pluginVA.setCurrentTime(CURRENT_TIME);
IMPORTANT: The CURRENT_TIME variable should always be specified in milliseconds

 

Reset plugin for video playlist
If consecutive videos are present in the same player, the following functions should be called, in order:
pluginVA.stop();
pluginVA.resetPlugin();
followed by function:
//configuration function to be called after plugin creation
pluginVA.loadVideoAnalytics(USER,ID VIDEO, VIDEO FILE URL,TIT VIDEO, CATEGORY ID,’ ‘,TIPO PLAYER);
with the parameters of the new video.

 

  •  IT

Category: How to... | Tags: Flash, Javascript, ShinyStat Video Analytics, Silverlight, video Comment »


Leave a Reply


Cliccando sul tasto "Submit Comment", l'utente dichiara di aver preso visione e di accettare la Privacy Policy per la Sezione Contatti


CAPTCHA
Refresh

*

↑ Back to top

     

ShinyStat S.p.A. - C.F./P.IVA 11407580965 - Privacy Policy - Cookie Policy
Corso di Porta Nuova n. 48 - 20121 Milano (MI) - REA: MI - 2600151 - Capitale Sociale Euro 100.000,00 i.v. - SDI W7YVJK9 - PEC: shinystat@legalmail.it
English -  Italiano -  Français -  Deutsch -  Español