Publish Govie

Publish a Govie, share its published version and embed it in a website using configurable IFrame parameters.

Watch the video tutorial on YouTube (from 2:03)

Publish menu

To publish a Govie, simply open the hamburger menu and select Publish Govie.

In order for a sharelink to be generated, the Govie must first be published. The sharelink then always shows exactly the published version, even if further changes are made in the Govie later!

Publish menu with sharelink and publication settings, shown in German
Enlarge image

Embed in website

A Govie can be easily integrated into an existing website. For this purpose, an IFrame is used in which the finished Govie is displayed.

Website embedding code in the publish menu, shown in German
Enlarge image

Properties of the IFrame

Within the IFrame, various properties can be customized. There are parameters that affect the functionality of the Govie and parameters that affect the design of the IFrame.

<iframe width="100%" height="650px" loading="lazy"
    src="https://platform.govie.de/share/revision/kh9m97xLtH9xMLPXb?controls=false&zoom=false&mobileScroll=true"
    frameborder="0"
    allowfullscreen>
</iframe>

Functionality

A parameter can be appended to the link itself using the ? character (query string). Use & to add additional parameters.

  • controls – Show the navigation menu. Default: true.
  • zoom – Prevent zooming in the 3D scene so that the website does not zoom accidentally when scrolling. Default: true.
  • mobileScroll – Set this parameter to true so that scrolling also works smoothly on mobile devices and the model is not inadvertently rotated. Default: false.
link
?controls=false
&zoom=false
&mobileScroll=true

Design

CSS can control the appearance of the IFrame.

  • width – Width of the IFrame.
  • height – Height of the IFrame.
  • frameborder – Border around the IFrame.
  • allowfullscreen – If this attribute is set, the IFrame can be switched to full-screen mode using the requestfullscreen() function.
width="100%"
height="100%"
loading="lazy"
src="your govie"
frameborder="0"
allowfullscreen

For styling the presentation, see CSS – Custom Design.