Post

Replies

Boosts

Views

Activity

Reply to Detect visionOS Safari to not provide mobile orientation features. Comes up as Ipad.
I figured something out but I presume this may need rectifying in the future. Differentiate Ipad from visionOS using screen dimensions. Ipad is less. I can now have my feature not trying to turn on mobile device orientation controls going fullscreen thinking it's an Ipad / mobile device. Html Fullscreen in visionOS is contained to the browser view until XR immersive mode so orientation won't work. I'm sad so many traps are put in place and makes it very difficult to pull features off for anything Apple. https://github.com/danrossi/ios-detection-utils/blob/main/src/IOSUtils.js#L30
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’24
Reply to Vision Pro Safari WebXR video playback not working
pseudo code. the platform detected goes between Ipad and MacIntel. onSessionStart() { //force play for visionOS if (this.isIpad) { // this.video.play(); const handlePaused = () => { this.video.removeEventListener("pause", handlePaused); this.video.play(); }; this.video.addEventListener("pause", handlePaused); } }
Topic: Safari & Web SubTopic: General Tags:
Mar ’24
Reply to Can't web inspect Safari in VisionOS 1.1 I get "No Inspectable Applications"
I forgot to mention. in VisionOS 1.1 I get no video displaying in my VR feature and can't remote debug. Video render is black launching to WebXR. I think there its a WebGL render bug in VisionOS 1.1 but can't remote debug. And there was severe crash bugs preventing video playback launching to WebXR in 1.0. I don't know what to bug report yet and a serious run around.
Topic: Safari & Web SubTopic: General Tags:
Feb ’24
Reply to Detect visionOS Safari to not provide mobile orientation features. Comes up as Ipad.
I figured something out but I presume this may need rectifying in the future. Differentiate Ipad from visionOS using screen dimensions. Ipad is less. I can now have my feature not trying to turn on mobile device orientation controls going fullscreen thinking it's an Ipad / mobile device. Html Fullscreen in visionOS is contained to the browser view until XR immersive mode so orientation won't work. I'm sad so many traps are put in place and makes it very difficult to pull features off for anything Apple. https://github.com/danrossi/ios-detection-utils/blob/main/src/IOSUtils.js#L30
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Hand tracking in WebXR in visionOS Simulator
I have transient-pointer input source fully working now in WebXR in Safari. The controller connects/disconnects within a pinch. so a pinch release disconnects. So its hard to detect raycast and hover effects. selection and raycast happens on selectend event.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Vision Pro Safari WebXR video playback not working
pseudo code. the platform detected goes between Ipad and MacIntel. onSessionStart() { //force play for visionOS if (this.isIpad) { // this.video.play(); const handlePaused = () => { this.video.removeEventListener("pause", handlePaused); this.video.play(); }; this.video.addEventListener("pause", handlePaused); } }
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Vision Pro Safari WebXR video playback not working
In the webxr session start event, forcing video/audio element playback works. Now need to detect for visionOS to do that. actually you can't detect what platform visionOS is. navigator.platform reports Ipad. So have to check if it's Ipad in WebXR and force play.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Can't web inspect Safari in VisionOS 1.1 I get "No Inspectable Applications"
It seems to be also a problem with IOS Simulator. 17.4
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Can't web inspect Safari in VisionOS 1.1 I get "No Inspectable Applications"
I forgot to mention. in VisionOS 1.1 I get no video displaying in my VR feature and can't remote debug. Video render is black launching to WebXR. I think there its a WebGL render bug in VisionOS 1.1 but can't remote debug. And there was severe crash bugs preventing video playback launching to WebXR in 1.0. I don't know what to bug report yet and a serious run around.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to Developer login not accepting my Yubikey on macOS but ok on windows
It goes in a loop with "Error description not available"
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24