Pinned Loading
-
JS-Authentication.js
JS-Authentication.js 1AWS.config.update({
2credentials: new AWS.CognitoIdentityCredentials({
3IdentityPoolId: 'region:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
4})
5})
-
Final-Video-Recorder-Component.js
Final-Video-Recorder-Component.js 1AWS.config.update({
2credentials: new AWS.CognitoIdentityCredentials({
3IdentityPoolId: 'region:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
4})
5})
-
Cognito-IAM-Policy.json
Cognito-IAM-Policy.json 1{
2"Version": "2012-10-17",
3"Statement": [
4{
5"Effect": "Allow",
-
S3-Add-Object.js
S3-Add-Object.js 1s3.putObject({
2Key: "video.mp4",
3Body: videoBlob,
4'ContentType': 'video/mp4',
5ACL: 'public-read'
-
S3-API-Version.js
S3-API-Version.js 1AWS.config.apiVersions = {
2s3: '2006-03-01'
3};
-
Video-Recorder.js
Video-Recorder.js 1<VideoRecorder
2onRecordingComplete={(videoBlob) => {
3// do stuff with blob
4}}
5/>
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.