insert a VRobject in a webpage

Q&A about the latest versions
Post Reply
ARobbert
Posts: 5
Joined: Mon Jan 25, 2016 11:03 am

I need it to be located below my menu at the top. I can't seem to get this to work.

I'm hoping to add the needed code to my webpage but don't know what code is needed and where to place it. The HTML file generated from Object2VR works. I'm copying the body section and adding to my page HTML. It's not working.

The XML file, player and skin files are in the folder with the new html file.
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi ARobbert,
You also need to add some code from the head section of the HTML page.
If your not sure then it may be easier to use an iframe.

Here is an example of code:
<iframe src="project/index.html" name="Object" width="640" height="480" scrolling="no" marginheight="0" marginwidth="0" frameborder="0" style="float:left; margin-left:0px" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"></iframe>

When producing the output make sure you select the fullscreen option found under the HTML tab.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
ARobbert
Posts: 5
Joined: Mon Jan 25, 2016 11:03 am

Thanks for the reply. I started a new file and it's working!
Post Reply