new VideoRecorder( [options])
Parameters:
Name | Type | Argument | Description | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Control options. Properties
|
Extends
Members
-
tips
-
Default button tips
Methods
-
pause()
-
Pause recording
-
resume()
-
Resume recording after pause
-
setMap(map)
-
Remove the control from its current map and attach it to the new map. Subclasses may set up event handlers to get notified about changes to the map here.
Parameters:
Name Type Description map
ol.Map Map.
-
setTooltip(button, title)
-
Set button title
Parameters:
Name Type Description button
string button name (start, stop, pause or resume)
title
string -
start()
-
Start recording
-
stop()
-
Stop recording