Uploader Widget

Here's an example on how to use the uploader widget:

<script src="https://services.brid.tv/js/api.js"></script>

<div id="bridApiUploader"></div>
<script>

// Initialize the uploader widget
$BridApi.Uploader.init({'access_token' : 'YOUR_ACCESS_TOKEN', 'partnerId' :'YOUR_PARTNER/SITE_ID'});

// Add the "on" event listener
$BridApi.Uploader.on('VideoAddForm', function(e){

// Use e.detail to get all details about the uploaded video like the video ID, embed code etc.
console.log(e.detail);

});
</script>

The above code will load the uploader widget on your page and will allow your user(s) to upload a video to Brid. This makes it really easy to implement in any custom CMS system so you can easily add Brid upload video functionality to your custom setup.