MobileCRM.UI.MediaTab.recordVideo - Resconet/JSBridge GitHub Wiki

Executes the record video command on this media tab.

Example demonstrate how to execute the video record command on media tab.

MobileCRM.UI.EntityForm.requestObject(function (entityForm) {
	// get media tab by its name
	var media = entityForm.getMediaTab("DocumentAction");
	media.recordVideo();
}, MobileCRM.bridge.alert, null);