Keeping digital content in control is a challenge that organizations commonly face. There should be a mechanism that enables the media managers to only let authorized users have access to their digital content. VIDIZMO's widgets solve this problem by allowing its customers to only let the authenticated users playback the media.

Authentication Methods for Widgets

Following are the methods for the authentication of VIDIZMO widgets

User Credentials

Registered user's email address and password must be sent as a json object in the request body of authentication API  call.

<script type="text/javascript">

var authInfo = {
emailAddress: "{email-address}",
password: "{password}"

{ method: 'post', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(authInfo) }
.then(response => response.text())
.then(data => {

window.widgetContext = { authenticationInfo: { accessToken: data } };


Note: Where {email-address} and{password} are your credentials to access VIDIZMO portal.

API Token

API Token generated via VIDIZMO portal must be set in the window.widgetContext.

<script type="text/javascript">
window.widgetContext = { authenticationInfo: { accessToken: "{API-Token}" } };

Note: Where {API-Token} is the API Token generated in VIDIZMO portal.

Use the following links to read more about what more widgets VIDIZMO is offering: