Hello,
I am trying to get an instructional video play with sound after a button press. I have everything working except once I click the button the video doesn’t play.
Editor here
https://playcanvas.com/editor/scene/1636350
In the VideoTexture.js script
I changed the code so it wouldn’t auto play, as I need sound with the video.
//IS THIS CORRECT??
video.play = true;
//video.autoplay = true;
video.crossOrigin = 'anonymous';
//video.loop = true;
// muted attribute is required for videos to autoplay
//video.muted = true;
Thanks!