I've been attempting to connect images and sound files to my CodePen project using a Dropbox shared link.
<div class="container">
<div class="row second-line">
<div class="col-12">
<div data-key="32" class="key">
<kbd>BAR</kbd>
<span class="sound">808</span>
</div>
</div>
</div>
</div>
<audio data-key="32" src="https://www.dropbox.com/s/qqusqet38wnfexr/8081.wav?dl=0"></audio>
Unfortunately, neither the background image in my CSS file nor the sound file for my keyboard event seems to be working. Everything functions perfectly with local files containing local sounds and images.
I'm trying to utilize Dropbox to host these files since CodePen doesn't support direct file uploads. However, it seems like things aren't working as expected. Is this feature not supported? I could have sworn I've seen it done before, or maybe I'm missing something obvious.