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"/>

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy