Open JMittalUM opened 7 years ago
@JMittalUM if you have your file uploaded to say; your media folder.
<audio src="../media/mysong.mp3" controls autoplay>
<p> This browser does not support our audio format. </p>
</audio>
refer to pg 219, 220 Duckett
and https://media-ed-online.github.io/intro-web-dev/modules/topic-06/audio/
If you have done all that and it still does not work check your browser it may be worth updating Firefox or Chrome. Here is a list of supported browsers from W3.
Hey @JMittalUM! So far, I can see there's a file-naming issue. I didn't go too deep, but the file is good and it plays well! But you're linking to `../media/audio-01.mp3', while your filename is actually "audio-01.mp3.mp3" Try renaming to "audio-01.mp3" and see what that does first!
Thank you! Renaming the file resolved it.
I am still having problems getting music from my own computer to work on the live site, I tried doing exactly as shown on the walkthroughs but it's not working with my own music. Is there a different way you are supposed to link it?