File upload preview
Hello, guys. I am using file upload for videos and the disk is s3. After a video is updated, I am using an Observer to convert the file path which is saved in database into Cloudflare Uuid. So because in the database is now the cloudflare uuid, the preview for videos doesn't work. How can I solve this problem?
2 Replies
Hi @dianamujoiu, just a thought: Could you save the Cloudflare UUID to a separate column? You could use the local URL for admin previews and Cloudflare URL for other parts of the app.
Yeah, I think this is the only solution. Thank you