Defining custom functions for capture screen and record video component
Customize the display and behavior of the capture screen and record video component in your application by creating a JavaScript file that defines functions for the component. As a result, you deliver an application that complies with your specific requirements.
For example, you can change the default text for a screen capture gadget, or you can adjust the countdown length between the moment when a user initiates recording and the actual start of recording.In the header of Dev Studio, click
.On the New tab, define the text file record configuration and context:
In the Label field, enter a meaningful name for the file.
In the App Name (directory) field, enter the name of the server directory in which you want to place the file.
In the File Type (extension) field, enter js.
In the Context section, define the development branch and ruleset for the file.
Click Create and open.
On the Main tab, in the text field, define the callback functions and the write functions that call the capture screen and record video APIs by using those callback functions.
Click Save.
Previous topic Capture screen and record video component Next topic Including the capture screen and record video component in a section