Last updated on
Apr 27, 2021
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"/>