Added the ability to record and display Loom videos from within CasualOS.
loom.recordVideo(options) - A function that can be used to start the recording process. Resolves with a promise that includes information about the recorded video.
options is an object with one of the following properties:
publicAppId - The public app ID of the loom app that the video should be associated with.
recordName - The name of the record that the video should be associated with. The studio for the record needs to have loom features enabled and also be configured with a loom public app ID and private key.
loom.watchVideo(url) - A function that can be used to load and watch the given loom video.
loom.getVideoEmbedMetadata(url) - A function that can be used to load additional information about a video that can be used to embed the video.
:rocket: Features
loom.recordVideo(options)
- A function that can be used to start the recording process. Resolves with a promise that includes information about the recorded video.options
is an object with one of the following properties:publicAppId
- The public app ID of the loom app that the video should be associated with.recordName
- The name of the record that the video should be associated with. The studio for the record needs to have loom features enabled and also be configured with a loom public app ID and private key.loom.watchVideo(url)
- A function that can be used to load and watch the given loom video.loom.getVideoEmbedMetadata(url)
- A function that can be used to load additional information about a video that can be used to embed the video.Closes #484