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.

  • "Sudarchikov Andrey" started this thread

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

21

Monday, February 8th 2016, 9:43pm

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

Beginner

Posts: 34

Location: Sarajevo, Bosnia & Herzegovina

  • Send private message

22

Monday, February 8th 2016, 11:25pm

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)

  • "Sudarchikov Andrey" started this thread

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

23

Tuesday, February 9th 2016, 11:50pm

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

Intermediate

Posts: 203

Location: La Ceja, Colombia

Occupation: photographer

  • Send private message

24

Friday, February 12th 2016, 4:11am

what would be the code to include instagram
Ramiro

  • "Sudarchikov Andrey" started this thread

Posts: 1,081

Location: Russia, Kaliningrad

  • Send private message

25

Tuesday, February 16th 2016, 1:10pm

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

Wednesday, June 26th 2019, 1:13pm

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?