atlas icon indicating copy to clipboard operation
atlas copied to clipboard

Define non-arbitrary list of supported video formats

Open mochet opened this issue 3 years ago • 2 comments

Previously users were able to upload .mov files via the CLI, now on Joystream Studio it is not possible to do so

image

  • If it's not possible to have .mov files then the UI should indicate this to users, currently they just get an invalid file type error
  • The UI states Accepts any format supported by your browser, is this true?

mochet avatar May 31 '21 06:05 mochet

AFAIK, CLI wouldn't do any special validation on the video file. When doing an upload from Joystream Studio, we will first check if the file you want to upload is playable by your browser. If it is, you can upload it, otherwise we will show the error you've experienced. Seems .mov files aren't supported by Chrome.

re should indicate this to users, currently they just get an invalid file type error: I'm not sure what would be helpful here. Do you think changing the message to something like Video file not supported would be better?

re The UI states Accepts any format supported by your browser, is this true?: yes, that is true unless we have a bug somewhere but I don't think we do

kdembler avatar May 31 '21 10:05 kdembler

AFAIK, CLI wouldn't do any special validation on the video file. When doing an upload from Joystream Studio, we will first check if the file you want to upload is playable by your browser. If it is, you can upload it, otherwise we will show the error you've experienced. Seems .mov files aren't supported by Chrome.

re should indicate this to users, currently they just get an invalid file type error: I'm not sure what would be helpful here. Do you think changing the message to something like Video file not supported would be better?

re The UI states Accepts any format supported by your browser, is this true?: yes, that is true unless we have a bug somewhere but I don't think we do

Ah, that makes sense then. I just tested a .mov and it indeed won't play in Chrome, I had thought they were playable.

The best thing may be to eventually come up with a link to a list of browsers/supported formats. Although if Chrome doesn't support .mov files I'm not sure how much use they'll be on the network but that's a different question altogether.

mochet avatar May 31 '21 11:05 mochet