I’ve added a background video component to a website I’m working on. The video works perfectly and looks great however I can’t find anyway of muting it and we don’t want the audio at all.
Can any offer an easy fix for this or is it a code job?
The easiest way is to remove the soundtrack from the video file before uploading it. The file will be even ligher.
The other way is to find a piece of Javascript to shut the audio of the video. But it’s quite not recommenced, you’re going to make the visitors load the audio, and you’re going to make them load and execute a script to silent that audio.