I am using the Background Video widget and it plays the video perfectly but without sound. I understand Webflow doesn’t have audio natively yet. Can anyone suggest a workaround please. My client wants the video to play with sound!
You can use the basic audio tag with autoplay :
Thanks Blaise. I presume I put the url of the video into " URL OF YOUR AUDIO" and mp4 for the audio type?
Actually, the code provided by @Blaise_Posmyouck will work for audio filetypes only. It’s an excellent option, and provides website visitors with the quick option to mute.
As for doing both, you can use the basic
video tag which will also play audio. Here’s some great information on the topic: http://www.w3schools.com/tags/att_video_autoplay.asp
As far as usability, autoplaying audio isn’t always a welcomed feature for many website visitors. If you are going to include it, it’s a standard practice to include a quick way to kill the audio on the webpage.
Hi McGuire. I agree with you re autoplaying the audio but my client is a videographer and the voices on the video are giving him a very good recommend and so he wants users to hear it! Thanks for the response, I’ll check out that link.
did you figure out a workaround for this @jonimad??
Hi, I’ve got a similar problem with background video with missing audio. Did anyone solve this?