Sie sind nicht angemeldet.

21

Montag, 8. Februar 2016, 21:43

Hi!
you can try so
<krpano tourlink="http://mysite/?startscene=">

and change onclick
where you add current scene to link

onclick="txtadd(tourlinkwithparams,get(tourlink),get(xml.scene)); social.share(googleplus,get(tourlinkwithparams));"

Hope it help

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

Midhat

Schüler

Beiträge: 46

Wohnort: Sarajevo, Bosnia & Herzegovina

  • Nachricht senden

22

Montag, 8. Februar 2016, 23:25

Now it's works. Thanks a lot.
Is it possible in the same way to make a button for sharing via email.
onclick="txtadd(tourlinkwithparams,get(tourlink),get(xml.scene)); social.share(email,get(tourlinkwithparams));"

(but this does not work)

23

Dienstag, 9. Februar 2016, 23:50

Hi!
Is it possible in the same way to make a button for sharing via email.

Well, all is possible (almost ;) )
But i would advice make email sharing code in html page directly and call javascript function from tour via js() action.
you can pass any params you wish, so i think it's best way.

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

ramirox3

Fortgeschrittener

Beiträge: 354

Wohnort: La Ceja, Colombia

Beruf: photographer

  • Nachricht senden

24

Freitag, 12. Februar 2016, 04:11

what would be the code to include instagram
Ramiro

25

Dienstag, 16. Februar 2016, 13:10

As i know (maybe i'm wrong)
there is no share code yet
http://stackoverflow.com/questions/30542…e-button-or-not
Correct me somebody if it does

Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

26

Mittwoch, 26. Juni 2019, 13:13

Great code! *thumbsup*
Can you please tell me if I can open the window right on tour? I can not share on Facebook and classmates, what could be the reason?