Camcorder Component
Properties
class The styling class of the the component
Data type: string |
||
Designer Writable | true |
<camcorder name="camcorderName" class="Test class"> |
Code Writeable | false | |
Code Readable | false |
id The styling id of the the component
Data type: string |
||
Designer Writable | true |
<camcorder name="camcorderName" id="Test id"> |
Code Writeable | false | |
Code Readable | false |
name The name of the component that will be used to refer to it in code.
Data type: string |
||
Designer Writable | true |
<camcorder name="camcorderName" name="testComponent"> |
Code Writeable | false | |
Code Readable | false |
Methods
Method name | Description | Parameters | ||||
---|---|---|---|---|---|---|
recordVideo |
Records a video, then raises the AfterRecording event. camcorderName.recordVideo() |
|
||||
addEventListener |
Method used to create event listeners. See Events below for samples. |
|
Events
Event name | Description | Parameters | ||
---|---|---|---|---|
afterRecording | Indicates that a video was recorded with the camera and provides the path to the stored video.camcorderName.addEventListener( "afterRecording", function (clip) { //Your code here } ) |
|