You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

kiks

Unregistered

1

Monday, May 4th 2020, 3:24pm

How To Embed 3-D Models FROM SKECHFAB

Hi Krpano Dev,

How can i add my 3D doll house view in my krpano Virtual tour from sketchfab? i will add a text " click this to view the 3d view" and the 3d view will pop up -
this is the code i found but it not a call to action, hope anyone can help me.



<layer name="mytext"
type="text"
align="right" edge="right" width="300" height="200"
html="data:sketchfabdata"
css="font-family:Arial; font-size:16px; color:#000000;"
vcenter="false"
padding="0"
wordwrap="true"
bg="true"
bgcolor="0xFFFFFF"
bgalpha="1.0"
bgborder="0"
bgroundedge="0"
bgshadow=""
txtshadow=""
mergedalpha="true"
interactivecontent="false"
onautosized=""
keep="true"
/>

<krpano onstart="...">
...
<preview url="om/models/7ce93c8c3db74d3eb6421b5579717938/embed" />
<image>
<cube url="..." />
</image>
...
</krpano>


<data name="sketchfabdata"><![CDATA[
[div class='sketchfab-embed-wrapper'][iframe width='300' height='200' src='https://sketchfab.com/models/7ce93c8c3db74d3eb6421b5579717938/embed' frameborder='0' allow='autoplay; fullscreen; vr' mozallowfullscreen='true' webkitallowfullscreen='true'][/iframe]
[/div]
]]></data>