Package Exports
- @pathfindr.dev/recorder
- @pathfindr.dev/recorder/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pathfindr.dev/recorder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pathfindr/recorder
This is the pathfindr recorderSDK that you can use to make recordings of the screen, camera or both.
Documentation
You can find the full documentation for the recorder and our other SDK's here https://pathfindr.dev/docs.
Quickstart
Install it using npm
npm install '@pathfindr.dev/recorder'
Create a HTMLElement
<div id="recorder-container" />
Initialize the recorder
import Recorder from '@pathfindr.dev/recorder/';
import '@pathfindr.dev/recorder/large.css'; // or small.css
const element = document.getElementById('recorder-container');
const recorder = new Recorder({
target: element,
props: {
type: 'camera', // camera, screen, screencamera
accessToken: '81cca05e-0ebe-4819-9b13-5e92271ade59',
externalUserId: 'user-id-512',
language: 'da', // en, da, de
showProgress: true,
progressCallback: (progress) => {
console.log(progress);
}
}
});