mpAPI is a simple set of APIs that offers access to your galleries using a REST like request, feeds (RSS and JSON) requests and simple HTTP POST.
Cincopa REST API V2 is a simple set of REST based methods that allow you to access almost every aspect of your galleries and assets. Authentication is done with a simple api_token that can be created and deleted per app, set the permission level according to the needed level and exposure level.
V2 API was designed to be used :
Visit the REST API v2 page where you can get more info about the method and experiment live with them.
You can upload content to a gallery directly from your web site, this iframe provides a unified simple interface to an end user to uploading using drag and drop, select media, edit the media information, reordering and deleting. The iframe support mobile, tablet and desktop and will adopt the size and shape according the site layout.
Here are some scenarios where this iframe can be used :
Media that is uploaded will reside in a gallery, this gallery can be referenced using 2 methods, those 2 methods are interchangeable and were created to make the integration with the different system much simpler :
For more information about this method and how to use it check the V2 API doc under method upload.iframe.
When embedding a gallery with rrid (created by the upload.iframe) use the following code :
cpo["_object"] ="cp_widget_2";to the same div id
You can upload files directly from your app or extenstion using a HTTP POST method.
authentication ok file received ok reading metadata ok file stored ok creating resource ok new resource id 196481794 AEyCfY7ET4hA done.
Email is a great way to upload content to your account or directly to a gallery. You can give this unique email address to your designer or even distribute to your users.
The unique email address can be found in your upload page at the bottom tab.
Follow this link for more info.
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) are 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 from assets.search API request under drid 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>