Back

How to upload videos

  • 0
  • Databases
  • Storage
saksham
17 May, 2024, 21:18

how can i upload videos and thumbnail in my bucket and then use the url of the uploaded video and thumbnail in my videos section. Thank you so much for answering my small questions

TL;DR
Developers can refer to these links for uploading and viewing videos: - After uploading a video, a file model will be returned. Store the file ID rather than a URL. - Use this link to view the uploaded video: https://appwrite.io/docs/products/storage/upload-download#view-file It's recommended to read the quick start guide at: https://appwrite.io/docs/products/storage/quick-start for more details on uploading videos and thumbnails.
Steven
17 May, 2024, 21:34
Steven
17 May, 2024, 21:35

also...i'd store the file ID rather than a URL. Then you can use https://appwrite.io/docs/products/storage/upload-download#view-file to view it

Şafak
17 May, 2024, 21:35

Hi @saksham

After you upload your video, a file model will be returned to you. If you want to add or update your document...

Here is the model https://appwrite.io/docs/references/cloud/models/file

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more