You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using useVideoTexture to load a video texture with audio - I have video player controls made with uikit and when I try to play the video unmuted, it will not playback in Safari on visionOS (due to Privacy issues). I get the error: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. which generally occurs when trying to autoplay a video without "user interaction" as defined by Apple.
Should a uikit onClick on visionOS trigger this threshold of user interaction to allow playback of an unmuted video? Currently, the video plays back on other browsers (including in visionOS Safari using normal onclick events) but won't playback unmuted in R3F / uikit.
The text was updated successfully, but these errors were encountered:
arvinkx
changed the title
Safari Video Autoplay / OnClick
Safari (visionOS) Video Autoplay / OnClick
Sep 27, 2024
I'm using
useVideoTexture
to load a video texture with audio - I have video player controls made with uikit and when I try to play the video unmuted, it will not playback in Safari on visionOS (due to Privacy issues). I get the error:The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
which generally occurs when trying to autoplay a video without "user interaction" as defined by Apple.Should a uikit
onClick
on visionOS trigger this threshold of user interaction to allow playback of an unmuted video? Currently, the video plays back on other browsers (including in visionOS Safari using normalonclick
events) but won't playback unmuted in R3F / uikit.The text was updated successfully, but these errors were encountered: