Templates Plugins Courses

AWS File Uploader Help


#1

I need help with the AWS fileuploader plugin workflows.

This is what I want users to be able to do:

  1. upload audio and video files by clicking a button on their profile
  2. Play videos through zeroqode’s audio/video player plugin elements on a tab on their profile

My current workflows are as such:

  • A user clicks the file uploader plugin
  • chooses their file
  • clicks submit
  • Submit button workflow
  • file url is saved to ‘User File’ data type (the subfield it saves to has a data type of file)
    *Audio player plugin
  • Data source: Repeating group of user files created by current user
  • Current cell’s user files file

Please see attached for screenshots

Am I missing something?

Even when I upload the file as a user it just seems to have the loading bar not doing anything?


#2


#3


#4


#5


#6

Harry @funkyaeroplane
we’ll need access to your app to investigate further, screenshots don’t give enough details.
please add [email protected] and let us know on which page you are trying to achieve this


#7

Just added - the page the aws uploader plugin is on is a reusable element called “New User File (popup)”


#8

what’s the app name?
also we have fixed the AWS demo page you can take a look


#9

The name of the app is Jam Scene


#10

Harry, please put ap-southeast-2 in the region field
it should work after that


#11

That didn’t seem to help at all


#12

please give us editing rights so we can help you more efficiently


#13

Just gave you edit capability.


#14

we fixed it for you, please check


#15

The upload seems to work but the audio player is not playing? What was wrong with the uploader btw?


#16

seems you didn’t make your bucket public and accessible for everyone


#17

please send these as text, we’ll edit them for you and send back


#18

This is from my The Bucket Policy Tab:

{
“Version”: “2012-10-17”,
“Id”: “http referer policy example”,
“Statement”: [
{
“Sid”: “”,
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::034761183699:role/Cognito_JamSceneUnauth_Role”
},
“Action”: “s3:",
“Resource”: "arn:aws:s3:::jamscene/

}
]
}


#19

paste this instead
{
“Version”: “2012-10-17”,
“Id”: “http referer policy example”,
“Statement”: [{
“Sid”: ",
“Effect”: “Allow”,
“Principal”: {
“AWS”: “arn:aws:iam::034761183699:role/Cognito_JamSceneUnauth_Role”
},
“Action”: “s3:”,
“Resource”: [
“arn:aws:s3:::jamscene/”,
“arn:aws:s3:::jamscene/"
],
}, {
“Sid”: “AddPerm”,
“Effect”: “Allow”,
“Principal”: "
”,
“Action”: [“s3:GetObject”],
“Resource”: [“arn:aws:s3:::jamscene/*”]
}]
}


#20

Error message:

Error
This policy contains invalid Json