recordVideo( seconds)

Arguments

seconds: Number of seconds to record and save on the cloud (can delete from app UI any time). Maximum 90. Floating point.

Returns

the URL of video taken.

Example

var cam = <#Dropcam_[92]_1#>; 
var body ="< a href='"+cam.recordVideo(<%Number of seconds to record_N%>)+"'>Open recorded video< /a >";
var subject = sensor.name + " is opened or detected motion, video taken at " + cam.name;
KumoApp.Email(<%Email to%>, subject, body);