Spatial Sound Sourced from A Video Texture File

Hi there is this example working properly locally? This is perfectly working fine here but for my project the same example isn’t working well. The video is playing but with no audio.

@kc34 a repro would be really helpfull

@sebavan here it is!
I have just added some additional lines to what @gabrieljbaker has done above.

Here it works perfectly but with local files for my project it does not .

Thank you…

This works perfectly, this is really hard to know what does not work without a repro. What do you mean by local files ?

I mean to say the same thing I am applying for my project with a video file stored locally, its not working, the video is working alright I can play and stop but audio won’t come.

Could it be the browser locking the audio context on your page because it was not triggered with a user interaction? Most likely you need a user interaction to unlock the audio context.

Do you have any errors in console?

Hey @labris no there was no error in the console. But it’s
working now, I just had to attach the audio to the mesh.

Thanks everyone. :smiling_face:

2 Likes

Could you select the last reply as the solution so it’s easier to find?