I am trying to upload a movie to GCP. I use a FileButtonWidget (named addGameVideo
) to select the file and upload with a GCP query. The filetype is either MOV or MP4. I disabled fine-grained control on my bucket to ensure that I don't have any CORS issues.
According to posts that I read on the forum I should be able to access the content of the file through {{addGameVideo.value[0]}}
, but this shows up as undefined in the inspector. When I run my query, I get an error message cannot read properties of undefined (reading 'contentType')
.
Here are screenshots to help debug,
-
properties of the widget
-
properties of the query
-
the state of the widget after selecting a movie,
addGameVideo.value['0']
is undefined but I was hoping that this was just the inspector refusing to show 400 MB in a string.