Using the Video capture APIs

Before you begin, see Video Functions.

Capturing the video

<cfclientsettings enableDeviceAPI=true>

<cfclient>
 
<cfset opt = cfclient.video.getOptions()> 
<cfset cfclient.video.capture(opt,'func1')> 

<cffunction name="func1">
<cfargument name="mediaFileArray"> 
<cfset document.getElementById('result').innerHTML="Options object: #JSON.stringify(mediaFileArray)#"> 
</cffunction>

</cfclient>
 
<div id="result"/>
Adobe logo

Sign in to your account