Back to the Shapespark home page

Autoplay Audio/video

Hi all,

I have a movie room for a client in which the video plays and you can move around the movie room.

Im trying to make it so there is audio in the background whilst the movie plays.

Link: https://virtual.virtual3dspaces.com/morgan_cinema_room/

I have the audio set to autoplay (shown on the attached image) but when loading on a browser (chrome) it doesnt seem to work. It autoplays on my phone (iphone) but then then video doesnt autoplay. Not sure if anyone can suggest anything to get them both autoplaying at the same time?

Also, is there a way to sync audio and visual? At the moment I have visual of a movie and the audio is just a soundtrack - when trying to make the movie audio sync it just didnt work due to what i assume was different loading times.

Any help would be great!

EDIT: Ive just tried this on Safari on my computer and it works fine (autoplays both) but chrome is doesnt. On my phone its hit and miss if audio or visual autoplays. Is this just simply browser related?

In can be browser related, over the time we have encountered various browser specific issues with auto-playing audio and video. Browsers apply restrictions to improve browsing experience, so the web pages don’t start video and audio automatically without any user interaction.

In your case, having a video with audio would be the best solution. This way audio should be always synchronized with the video.

Hi Jan,

Thanks for your response, thought it may be browser related.

With regards to having the video with audio, im sorry if this is an obvious answer, but how do i do this? The video i have autoplaying is an MP4 with audio but it doesnt automatically play as i am simply changing the texture. Would i have to have an extension of a video player rather than change the texture?

Thanks

You need to add ‘Video texture control’ extension, select this video texture and disable the ‘Muted’ checkbox.

2 Likes

Thanks Jan, didnt realise that was a feature, works perfectly now!

Thanks for your help.

1 Like