The fullscreen button does not work, do you know why? HTML, integrated webpage

Hello!

The fullscreen button does not work, do you know why?

<html>
<head>
  <title>Babylon.js Viewer - Display a 3D model</title>
  <script src="https://preview.babylonjs.com/viewer/babylon.viewer.js"></script> 
</head>
<body>
    <babylon model="https://dl.dropbox.com/s/72413xr0rfo8dgv/CF.%20Gaustablikk%20residence%20u.%20reis.glb" templates.main.params.fill-screen="true"></babylon>
</body>
</html>

Thanks fellow comrades!

This does work for me, in both Chrome and Firefox. Try to test in incognito mode to disable all extensions.

Thanks!

  1. Is there a way to speed up the loading of the model?

  2. How do I add the “game-mode” controls?

Many thanks!

I don’t know the Babylon Viewer, try to have a look at the doc for answers: Babylon.js Viewer | Babylon.js Documentation

Regarding speeding up the loading, you can try to use the MSFT_lod extension: see Load multiple files fast - #3 by bghgary for more info.

Ping @RaananW the viewer daddy :slight_smile:

1 Like

This depends on what is actually slow. Is it the downloading or the actual code loading the model after downloading? Do you have a specific model that is slow? Some more information would be necessary to help. :slight_smile: