webXR out of iframe
Posted: Fri Apr 30, 2021 1:40 pm
Hello,
is there any good workaround to handle webXR from out of iframes, especially on a joomla site? When opening this site on a mobile phone (= webXR available) the split screen opens within the iframe naturally.
When addressing the index.html directly all works fine.
Tried to open an info-popup, that advises to open fullscreen first or to visit the direct link to the index.html. However this popup doesn´t show if vr is available and webvr is started by clicking the respectiv button, of course.
Also tried to combine action "start fullscreen" and "start vr", without any help. Also wouldn´t help for Iphone, I think.
Thought about a logicblock to activate webVR only if screenwidth > iframe width.
Perhaps someone figured out an elegant way to handle webXR in iframes?
Thank you for any idea.
is there any good workaround to handle webXR from out of iframes, especially on a joomla site? When opening this site on a mobile phone (= webXR available) the split screen opens within the iframe naturally.
When addressing the index.html directly all works fine.
Tried to open an info-popup, that advises to open fullscreen first or to visit the direct link to the index.html. However this popup doesn´t show if vr is available and webvr is started by clicking the respectiv button, of course.
Also tried to combine action "start fullscreen" and "start vr", without any help. Also wouldn´t help for Iphone, I think.
Thought about a logicblock to activate webVR only if screenwidth > iframe width.
Perhaps someone figured out an elegant way to handle webXR in iframes?
Thank you for any idea.