Skip to main content

Identify and classify the videos

Identify the videos with a videoID

In the web and native versions of the QUANTEEC plugin, a custom videoID can be inserted inside the QUANTEEC configuration, next to your quanteecKey:

var quanteecConfig = {
quanteecKey: "<your-quanteec-key>",
videoID: "<enter-your-custom-videoID>"
};

The videoID is used by QUANTEEC to identify the video. Hence, two players are able to know they are watching the same content, and they can exchange data. If the videoID is different, the players will not be able to connect. If no videoID is specified in the configuration, the URL of the video source is used as a videoID.

If the video urls are the same for every viewer for one video, then it is enough, and videoID are not needed. However, if specific urls are generated for every viewer (it may be the case if a token is used in the path of the url for security reasons), then the players will think they are not watching the same content, preventing the QUANTEEC plugin from being efficient. In this situation, videoIDs are needed.

Classify the video in 'collections'

note

Parametering this can only be done on the web versions of the plugin.

Collections are used to group videos with different videoID. To define a collection, its name must be set in the QUANTEEC configuration of the plugin:

var quanteecConfig = {
quanteecKey: "<your-quanteec-key>",
videoID: "<enter-your-custom-videoID>"
collection: "collection_name",
}

After a video with a new collection has been watched, the collection will appear on the "Videos" page of your panel.

You will be able to filter the videos according to the collection by simply clicking on them.

Collection