I am using angular package @uppy/angular to create an uppy component in my application. I am successfully loaded uppy upload window, but at the same time am not able to add screencast option through this.
my component file
import { Component } from '@angular/core';
import { Uppy } from '@uppy/core'
import Dashboard from '@uppy/dashboard';
import ScreenCapture from '@uppy/screen-capture';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css',
'../../node_modules/@uppy/core/dist/style.css',
'../../node_modules/@uppy/dashboard/dist/style.css'
]
})
export class AppComponent {
uppy: Uppy = new Uppy({
debug: true,
autoProceed: false,
allowMultipleUploadBatches:true,
restrictions: {
maxFileSize: 1000000,
maxNumberOfFiles: 3,
minNumberOfFiles: 2,
}
}).use(ScreenCapture, { });
obj = {height:350,inline:true};
}
And my template file
<uppy-dashboard-modal [uppy]='uppy' [props]='obj' [open]=true >
<uppy-dashboard-modal>
Any help/suggestion would be appreciated, Thanks