When you first start your app you have to wait for a user interaction on the page for audio to work… it might be the same mechanism that is tripping you up.
Is there any way by which i could play the audio of sound.
Currently am playing the video with the sound muted and unmuting it when the user interacts with the document/ Canvas.
Can’t i achieve to play the video along with sound without interaction ?
Here’s my code -
/**
* Video
*/
const videoElement = document.createElement("video");
videoElement.src = "../public/video.mp4";
videoElement.load();
videoElement.muted = true;
const videoTexture = new THREE.VideoTexture(videoElement);
videoTe…