Reputation: 361
I'm having problem streaming audio in my site with the audio element.
<audio controls="controls">
<source src="?" type="audio/mpeg" />
Your browser does not support the audio element.
</audio>
When trying to source the file with DropBox or Google Drive the player doesn't load the audio. I even tried softgateon.herokuapp.com/directlink
in vain. Any suggestion or alternative?
examples of failed src:
https://docs.google.com/uc?export=download&id=xxxxxxxx
https://www.dropbox.com/scl/fi/xxxxxxxxx/AUDIO-V-CTOR.mp3
https://www.dropbox.com/scl/fi/xxxxxxxxx/AUDIO-V-CTOR.mp3?rlkey=xxxxxx
https://drive.google.com/file/d/xxxxxxxxxx/view?usp=sharing
Upvotes: -1
Views: 51
Reputation: 163528
You simply cannot host files on these services in this way. Neither allow direct linking to the actual files.
Use a web server.
Upvotes: 0