You are not logged in.

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>

Viktor123

Beginner

Posts: 8

Location: Baden

Occupation: Kellner

  • Send private message

2

Wednesday, September 16th 2020, 12:34pm

Hey, what is your problem with the code? Normally it will work well.


Greetings