Page 1 of 1

Object2vr_output fixed browser size

Posted: Mon Sep 28, 2020 10:09 am
by ggibbon
Hi Gnome

Is there anyway of making my output file open the browser to a set format size.
I know once iframed into a webpage this isn't a problem, but if I'm just sending to a client
a weblink from a server always different size depending on what was last viewed in browser.

ie . as settings in width x height settings

Hope this makes sense.
Thanks
Greg
:D

Re: Object2vr_output fixed browser size

Posted: Wed Oct 21, 2020 5:28 pm
by PhotoSpherix
I do not know of a way to change the window size once it is opened, only a little javascript from a click that can make the window size. I dealt with this problem a little differently. I made it to where my default view of the 360 changes size(width and height percentage) with a max_size set to the final output. This way, if they open it on a phone, it fits, and if the open on a desktop it fits.

Re: Object2vr_output fixed browser size

Posted: Wed Oct 21, 2020 10:13 pm
by Hopki
Hi,
This sounds a bit risky trying to force a browser to a set size, you used to be able to d this but with modern security, I don't think you can anymore.
But I am no web developer so could be wrong.
Under the HTML tab, if you deselect "fullscreen", then the object will be displayed in the output HTML page you set in the settings.
Or select the fullscreen so the object fills whatever size the browser is.
Regards,