{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-frontend-components/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"type":"markdown"},"seo":{"title":"Embedded Video Management Suite SDK","description":"♥CMS♥API Documentation Cincopa.","siteUrl":"https://developer.cincopa.com","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":""},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Embedded Video Management Suite SDK"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Embedded Video Management Suite SDK enables you to embed editable media assets directly into your application or admin interface. This allows real-time interaction with video content, such as adding chapters, setting thumbnails, editing call-to-action, or invoking custom modules — all within your own web environment."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The SDK is also used in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cincopa plugins for headless CMSs"]}," like ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sanity"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Strapi"]},", where it is already initialized and configured. In these environments, users can access editing capabilities without any manual setup."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This allows content editors to modify video metadata such as chapters or call-to-action directly within the studio, without leaving the editing interface or switching tools."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Let's get started🚀"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"how-to-load-editor"},"children":["How to Load Editor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Instead of loading the editor inline with the video player, you can activate the editor on demand using the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cincopa.loadEditor()"]}]}," method."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-1"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Required Script"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To use Cincopa's editor functionality, you must first include the Cincopa JavaScript SDK in your HTML. This script loads the necessary methods, including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["loadEditor"]},", which is used to manually activate the editor. It should be included before any calls to Cincopa functions."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"<!-- Load Cincopa Async Script -->\n<script src=\"https://rtcdn.cincopa.com/libasync.js\" type=\"text/javascript\"></script>\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-2"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Trigger Element"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add a clickable element (e.g., a button or hyperlink) that will be used to manually activate the editor. When this element is clicked, it will call a function that launches the editor."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"<!-- Open Editor Button -->\n<a id=\"open_editor\" href=\"#\" onclick=\"open_editor()\">Open Editor</a>\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"-3"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Editor Initialization Script"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This function should be defined in your JavaScript and will be executed when the trigger element is clicked. This function sets up the required editor configuration, including the asset ID (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rid"]},"), the list of modules to enable, and the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developer.cincopa.com/guides/general/permissions-in-api-token#-8"},"children":["temporary token"]}," for authentication."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"function open_editor(){\n    let editor = {\n        rid: \"asset_rid\",\n        load_modules:[\n            {name: \"extras\"}, \n            {name: \"video-analytics\"}, \n            {name: \"multiple-audio\"}, \n        ],\n        token: \"Token\"\n    };\n    cincopa.loadEditor(editor);\n}\n\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"note"},"children":["To learn more about what an RID (Asset ID) is and how to retrieve it, refer to the Cincopa ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://developer.cincopa.com/guides/understanding-fid-in-cincopa#:~:text=How%20to%20Find%20the%20RID%20(Asset%20ID)"},"children":["FID & RID"]}," document."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-4"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["✅ Final Result"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Cincopa editor will open with the specified modules active."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/open_editor_module.37810897dead16eba7277a9cae047ce2060eaf344485d907bec418dc6e21cc74.9e571d96.png","alt":"open_editor_module"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-5"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Built-in Modules"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Cincopa provides a library of built-in modules to extend video functionality and editing capabilities. These modules can be activated by adding them to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["load_modules"]}]}," array of the editor configuration."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Modules"},"children":["Modules"]},{"$$mdtype":"Tag","name":"th","attributes":{"align":"left","data-label":"Description"},"children":["Description"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["info"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Title your masterpiece. Add a description and other fields like tags to boost SEO."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["share"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Spread the buzz. Share your video to social or a local share page."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["embed-info"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Share everywhere. Embed your asset on your website."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["email"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Create dynamic emails. Embed your video thumbnail directly in your emails and track engagement."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["thumbnail"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Set a custom thumbnail for your asset."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["video-trim"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Trim unwanted parts and create seamless videos."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["partitioning-speaker"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Add captions & transcripts. Manage, edit, and add multiple languages."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["chapters"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Add chapters for easy navigation."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["annotations"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Boost engagement with time-stamped annotations."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["call-to-action"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Drive action with a compelling call-to-action."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["replace-asset"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Replace an asset with a newer version."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["video-renditions"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Choose from multiple video renditions."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["extras"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Keep assets and related files in sync."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["multiple-audio"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Layer up with multiple audio tracks."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["video-analytics"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Unlock viewer insights."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["downloads-asset"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Attach files and links related to the asset."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["lead-generation"]},{"$$mdtype":"Tag","name":"td","attributes":{"align":"left"},"children":["Capture leads by adding forms."]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-6"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["✅ Final Result"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["By adding any of these modules to the configuration, the editor interface will include the corresponding functionality during asset editing, allowing control over each video element."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/build_in_module.742b629344f72fe86c73b209dda086adad0d72678906689ef43459b9fbcd9d53.9e571d96.png","alt":"built_in_module"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-7"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Adding Custom Modules"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The Embedded Video Management Suite SDK also allows you to add custom modules to extend the editor’s functionality."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"let editorConfig = {\n    load_modules:[\n        {name: \"chapters\"},\n        {name: \"thumbnail\"},\n        {name: \"captions\"},\n        {name: \"customModule1\", js_path: \"PATH_TO_MODULE1_JS\", css_path: \"PATH_TO_MODULE1_CSS\"},\n        {name: \"customModule2\", js_path: \"PATH_TO_MODULE2_JS\", css_path: \"PATH_TO_MODULE2_CSS\"}\n    ],\n    token: \"TOKEN\"\n};\n\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"-8"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["✅ Final Result"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once custom modules are defined and loaded, they appear alongside standard modules in the editor."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/custom.aacc892cd733b44b2e8f48054f3bc69fe60bb1b987d1396321dd3c3459214b7e.9e571d96.png","alt":"coustom_module"},"children":[]}]}]},"headings":[{"value":"","id":"","depth":1},{"value":"How to Load Editor","id":"how-to-load-editor","depth":1},{"value":"","id":"-1","depth":2},{"value":"","id":"-2","depth":2},{"value":"","id":"-3","depth":2},{"value":"","id":"-4","depth":1},{"value":"","id":"-5","depth":1},{"value":"","id":"-6","depth":1},{"value":"","id":"-7","depth":1},{"value":"","id":"-8","depth":1}],"frontmatter":{"slug":"/frontend-components/editor-apis/cincopa-inline-editor","seo":{"title":"Embedded Video Management Suite SDK"}},"lastModified":"2026-11-24T09:09:30.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/frontend-components/editor-apis/cincopa-inline-editor","userData":{"isAuthenticated":false,"teams":["anonymous"]}}