Difference between revisions of "Widget:3DModel"

From Dragalia Lost Wiki
Jump to navigation Jump to search
imported>Elaeagnifolia
imported>Elaeagnifolia
(No difference)

Revision as of 21:41, 12 January 2019

<script>

   document.querySelector("#modelViewer a").addEventListener("click", function(e) {
       document.querySelector("#modelViewer").innerHTML = '<iframe width="400px" height="400px" src="https://poly.google.com/view//embed" frameborder="0" style="border:none;" allowvr="yes" allow="vr; xr; accelerometer; magnetometer; gyroscope; autoplay;" allowfullscreen mozallowfullscreen="true" webkitallowfullscreen="true" onmousewheel="" ></iframe>';
    e.preventDefault();
  e.stopPropagation();
   }, false);

</script>