ilab-media-tools
ilab-media-tools copied to clipboard
Wrong File URL for Video Files ( > 5 MB) using DigitalOcean Spaces in Wordpress Media Library
Describe the bug I'm getting a wrong File URL for Video Files in Wordpress Media Library using DigitalOcean Spaces.
To Reproduce Steps to reproduce the behavior:
- Enable Cloud Storage
- Set Storage Provider to "DigitalOcean Spaces"
- Set Provider Settings (Access Key, Secret, Bucket, … )
- Enable Upload Video Files
- Save Changes
- Go to Media Library
- Upload a Video (web supported file format e.g mp4)
- Click the Video
- Get "Media error: Format(s) not supported or source(s) not found"
- See File URL in the Attachment Info: 'fra1.digitaloceanspaces.com/my-bucket-name/…' insted of 'https://my-bucket-name.fra1.digitaloceanspaces.com/…'
Expected behavior Correct File URL for Video Files (same as for Image Files) "https://my-bucket-name/fra1.digitaloceanspaces.com/..."
Screenshots
Server (please complete the following information)
- Operating System: Ubuntu 20.04.5 LTS
- PHP Version PHP 7.4
- Web Server: NGNIX
- Using PHP-FPM? Yes
- Using WordPress Cron? No
How did you install the plugin? via composer
The funny thing is that it works for small and short Video Files < 5 MB and < 10s
Do you have mux or the mux player enabled? I tried to replicate this and couldn't. Size wouldn't have any bearing on anything at all.
Yes. I have mux and mux player enabled. But still happends if I turn off both.
I found the issue. Not sure why it exists. Will dig further tomorrow.
I found the issue. Not sure why it exists. Will dig further tomorrow.
Nice one! Let me know if you need any further information!
I found the issue. Not sure why it exists. Will dig further tomorrow.
Sorry for bothering you. Just wanted to know if you have any updates on this? Appreciate your help!
Should be fixed in this latest release. LMK if u run into any problems.
@ChristophJeworutzki did that fix things on your end?
@jawngee Yes, I can confirm that it has been fixed! Thank you! 🙏
Hi,
How was it solve @jawngee ?
Thanks nad regards