Last updated

Using Cincopa Video and Audio player in a single mode

All Cincopa video and audio players can work in a gallery mode and a single mode. Single mode is useful if you like to dynamically embed a player without pre-creating a gallery, like in the case of using the API.

The embed code (both HTML and iframe code that you get in step 4 of the wizard) is the same except for the fid parameter. fid parameter syntax is TEMPLATE_ID!ASSET_ID

TEMPLATE_ID - is an ID of a gallery in your account that will be used to draw the player, create this gallery from any template that you like, customize it and test it.

ASSET_ID - is the ID of the asset that you would like to play in the player. Get this ID from the assets page or dynamically from assets.search API request under grid attribute.

For example, in this iframe code the TEMPLATE_ID is AIBASXc7-7zv and the video ASSET_ID is Ag0Cqq6ltcaH:

<iframe width="600" height="430" src="//www.cincopa.com/media-platform/iframe.aspx?fid=AIBASXc7-7zv!Ag0Cqq6ltcaH" frameborder="0" allowfullscreen scrolling="no"></iframe>

This is how a short code (to embed in WordPress, Joomla, Drupal, Moodle, etc) will look in a single mode :

[cincopa AIBASXc7-7zv!Ag0Cqq6ltcaH]