You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to implement the viewer as browser-ready bundle In my local mediawiki site, and the only way I have to add Javascript code is through Common.js
Viktor will probably have a better answer for you but just in case if this might help here is how my Quick Viewer is using O3DV:
<scriptsrc="https://cdn.jsdelivr.net/npm/online-3d-viewer@0.10.0/build/engine/o3dv.min.js"></script><script>// Set the external libraries locationOV.SetExternalLibLocation('https://cdn.jsdelivr.net/npm/online-3d-viewer@0.10.0/libs');// Init all the 3d viewer elements.OV.Init3DViewerElements();</script>
There might be some limitations to my approach so consider this as a suggestion only.
Thank you for your response, but I think the problem will persist because I don't see how to define the OV object, before referring to it in Common.css, I attach a screenshot of the browser console:
Hi, I'm trying to implement the viewer as browser-ready bundle In my local mediawiki site, and the only way I have to add Javascript code is through Common.js
I have read and applied the installation and use procedure indicated in: https://kovacsv.github.io/Online3DViewer/index.html
The problem is that these two lines are not being recognized there:
I guess Common.js doesn't understand what the OV object is
Can you help me please, I really appreciate it.
The text was updated successfully, but these errors were encountered: