Immersive start page, no Wolvic UI shown
Utopiah opened this issue · comments
Is your feature request related to a problem? Please describe.
I do no program natively but solely on the Web, mostly WebXR. I want to skip the OS UI to go straight to Wolvic. From there I can have a start page
Describe the solution you'd like
Supporting it at all (if that's not already the case), then allowing it via setting option, if not as a command line option
Describe alternatives you've considered
- WebExtension might be sufficient, done https://github.com/Utopiah/vrify before
- adb command
- https://wiki.termux.com/wiki/Termux:Boot
Additional context
Does #1211 concerns the start page or even opening via an adb
command/intent?
My point being not of open Wolvic then navigating to an immersive WebXR page then opening it in XR (which I believe that other issue is about) but rather starting Wolvic and have e.g https://aframe.io/aframe/examples/boilerplate/hello-world/ directly in VR.
Does #1211 concerns the start page or even opening via an
adb
command/intent?My point being not of open Wolvic then navigating to an immersive WebXR page then opening it in XR (which I believe that other issue is about) but rather starting Wolvic and have e.g https://aframe.io/aframe/examples/boilerplate/hello-world/ directly in VR.
Then you're talking about #1171
#1171 provides a very interesting way to solve this indeed without touching much the code itself through the extension. I believe this is such a rare use case (for now) that instead of having the browser UI modified itself, just parameters is enough. Thanks for pointing it out!
So in my example @felipeerias would it mean
adb shell am start -n "com.igalia.wolvic/com.igalia.wolvic.VRBrowserActivity" \
-a android.intent.action.MAIN \
-c android.intent.category.LAUNCHER \
-a android.intent.action.VIEW \
-d "https://aframe.io/aframe/examples/boilerplate/hello-world/" \
--ez open_in_immersive true \
--ez hide_webxr_interstitial true \
-e open_in_immersive_parent_xpath '' \
-e open_in_immersive_element_xpath '/html/body/a-scene/div[2]/button'
?
Finally @svillar do you imagine this PR would be reviewed soon? I have it in mind for #1103 but as I'm building myself for now I could just pull-in this patch.
partially 🧐