codefluegel / h5p-editor-modelviewer

MIT License
0 stars 0 forks source link

ModelViewerEditor: Different model-view behavior between running standalone and as subcontent #2

Open patrickfrohmann opened 2 days ago

patrickfrohmann commented 2 days ago

Standalone

When running the ModelViewer content standalone, then the editor will not show the model-viewer-container if no model has been loaded. (https://pasteboard.co/jts8KtQSJRzP.png)

Subcontent

When running the ModelViewer as subcontent, the editor will show the model-viewer-container if no model has been loaded. It displays some information about a missing model that is misplaced. (https://pasteboard.co/CvqGjAkvrd7w.png)

Also, when uploading a model, it does not show up in the preview. The preview remains to be the "missing model" information.

patrickfrohmann commented 2 days ago

looks like Interactive Book loads on selection of modelViewert type the H5PEditorVirtual3DTour instead of Modelviewer...