Crocoblock / suggestions

The suggestions for CrocoBlock project
195 stars 78 forks source link

Audio player widget fetching URL and playing mp3's that are uploaded on cloud storages. #7824

Open LookaZD opened 4 days ago

LookaZD commented 4 days ago

One quick feature request about Audio Player widget from Jet Elements plugin

It will be great if we could set Audio source to external, and upload mp3 to Google drive, Dropbox, or similar cloud storage, then copy that uploaded URL and paste it here in the URL section below Audio Source. Would that be possible?

hvrddrive commented 4 days ago

@LookaZD You can already do this using the external option in the audio widget and then using dynamic tags to dynamically set the url. I use this with my platform using Bunny CDN and all of my audio is uploaded and organized through bunny.

LookaZD commented 4 days ago

Well I did that but in my case it's not working :/

I created in CPT new meta field (MP3 Upload) as text type. MP3 meta field

In post editor I copy/pasted link from MP3 that I uploaded on google drive (I tried dropbox also). MP3 upload post editor

Then on the widget settings itself I used dynamic tag on external option to fetch URL from that MP3 upload meta field. MP3 upload widget settings

But on the frontend id doesn't work... When I click on play button nothing happens :/ Am I doing something wrong?

Crocoblock commented 4 days ago

Hi

We know about this issue. Now our team is working on more priority tasks. But in the future we do not exclude the possibility of adding this functionality to the core of our plugin.

Thank you for your understanding.

hvrddrive commented 4 days ago

So the issue I believe you are running into is because I believe the url has to end with .mp3 for it to work correctly. This is why I use Bunny CDN because I can get the exact url down to the .mp3 where google drive's file url is not a direct link to the file and instead a page to listen to the audio.

LookaZD commented 4 days ago

Yes, you're right. Since that widget only plays mp3 files the extension of the link must be .mp3 Hope they will allow this functionality soon for every link format