Last updated

cpRecordUI

Embeds a complete visual recording interface—with camera preview, start/stop buttons, and auto-upload—into your webpage.

Record-ui

Include the Script

<script type="text/javascript" src="//wwwcdn.cincopa.com/_cms/ugc/recorderui.js"></script>

Initialize the Recorder UI

var recorderUI = new cpRecorderUI(element, options);recorderUI.start();

Parameters

  • element: The HTML container where the widget will render.
  • options: Configuration for:
    • Upload endpoint
    • UI appearance
    • Permissions and behavior

Callable Methods

  • start() - Renders the full UI.
  • reset() - Resets or clears the recorder state.