Hi,
I’m building an AR experience in the new Studio. I have a plane (video1
) under my Image Target with a video bound to it (Unlit material, video set via Color, with Video Controls).
-
In Studio preview (desktop) the video plays fine.
-
On iPhone (Safari, iOS 17), the video does not start. The plane shows black.
-
I’ve already set Video Controls → Autoplay = ON, Loop = ON, Volume = 0 (muted).
-
I’ve also tried scripting it with a component that listens for
reality.imagefound
and callsecs.VideoControls.mutate(... paused = false, volume = 0)
. Still no playback on iPhone.
It seems like iOS autoplay restrictions are blocking the video unless there’s a user gesture, but I want the video to play muted automatically when the target is found.
My questions:
-
What is the recommended way (in the new ECS API) to guarantee muted video playback on iOS when an image target is found?
-
Do we need to explicitly request playback on a UI tap first, or should muted autoplay work as long as volume = 0?
-
Is there an official example of binding video to an Image Target in the new Studio that we can reference?
Thanks a lot for your help!