Last updated on 
                
                    Feb 25, 2025
                
            
            
        
        
    
  
      
      Alert
  
  
    
     
     
    
        
            
    
    
All mobile and mobile-related features are removed in ColdFusion (2025 release).
View Deprecated features in ColdFusion for more information.
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"/>