Sie sind nicht angemeldet.

1

Montag, 28. Dezember 2020, 09:13

How to make krpano viewer see sketchfab 3d content links inside Vtour?

Hello, to everyone.

I'am interested in making virtual tours in krpano API , and wish to
integrate my fotogrammetry work from sketchfab.com inside Vtours. At this
time I'am making some test and find out that technicly the integration
posible and working great on some links from sketchfab, and didn't work
from another links. The question is why in some reasons some links is
ok and another don't.

This is the weblink to my test that shows working and not working
examples, it's simple, you just need to clik on to round elements to see
what i'am talking about:

https://fotosfera.kz/content/test/TestScetchfab/tour.html

The links I used in this exampl are :

https://sketchfab.com/3d-models/sobor-vo…98942befb7cbefd - not workin in virtual tur

https://labs.sketchfab.com/experiments/annotations-sync/ -working ok.

Thank you for your time and attantion to my request.

juyatu

Schüler

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

2

Montag, 28. Dezember 2020, 10:11

Look at the console information.


Because it set 'X-Frame-Options' to 'sameorigin'.
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990

3

Montag, 28. Dezember 2020, 10:37

Look at the console information.


Because it set 'X-Frame-Options' to 'sameorigin'.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
	<hotspot name="spot2" style="infospot"
    	html="Link not working"
    	ath="0" atv="0"
    	onloaded="circlepos(2,6);"
    	onclick="popup('iframe', 'https://sketchfab.com/3d-models/sobor-voznesenskiy-almaty-2020-e9e6081859784b7bb98942befb7cbefd', 1200, 800, true);"
    	/>

    <hotspot name="spot3" style="infospot"
    	html="Link ok"
    	ath="0" atv="0"
    	onloaded="circlepos(3,6);"
    	onclick="popup('iframe', 'https://labs.sketchfab.com/experiments/annotations-sync/', 1200, 800, false);"
    	/>

Dear juyatu , could you please explane a little more, because I didn't see diference in sintaxis in this two hotspots, but one link is ok and another not ok.
May be you have a suggestion how to correct code to get it work?

juyatu

Schüler

Beiträge: 68

Wohnort: China

Beruf: Krpano custom coding

  • Nachricht senden

4

Donnerstag, 31. Dezember 2020, 04:43

Dear juyatu , could you please explane a little more, because I didn't see diference in sintaxis in this two hotspots, but one link is ok and another not ok.
May be you have a suggestion how to correct code to get it work?
The problem isn't in the Krpano code, it's the page you visit.This page requires that you must be SameOrigin.
*thumbup*

Preload Plugin (Free, source code)
Constrast Plugin
KR HLS Plugin
Slider Controller Plugin
KR+Next+MapBox+TS Demo (source code)


微信:Eric_Chen1990