multiple parameters   [SOLVED] - View the solution

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
leifs
Member
 
Topic author
Posts: 648
Likes: 1 post
Liked in: 0 post
Joined: Sun Sep 06, 2009 12:08 pm
Location: Ørsta Norway
Info

multiple parameters

by leifs » Tue Feb 23, 2016 10:56 pm

Yes, I've searched the forum and the faq's. But could not find the answere. So I try it her:

puting a pano online I can add a parameter like:
?flash=prefer
?s=pano130
and so on

but what if I want both ?
?s=pano130 xxx flash=prefer
what is xxx ?
I've tried ; and , and it does not cut it.
what is the right delimiter (if there is one) ???

leifs

no avatar
leifs
Member
 
Topic author
Posts: 648
Likes: 1 post
Liked in: 0 post
Joined: Sun Sep 06, 2009 12:08 pm
Location: Ørsta Norway
Info

Re: multiple parameters

by leifs » Wed Feb 24, 2016 8:10 pm

it seems like the right delimiter is &
like this:
http://www.rundskuer.no/panotour/groetd ... &s=pano130

leifs

User avatar
Annis
Kolor Team
 
Posts: 6062
Likes: 801 posts
Liked in: 444 posts
Joined: Mon Aug 12, 2013 12:47 pm
Location: France
Info

Re: multiple parameters  [SOLVED]

by Annis » Thu Feb 25, 2016 9:46 am

You are correct, use "&" between deep-linking variables.

And you are right, the FAQ isn't clear enough. I've tried rearranging it a bit, is this better?

no avatar
leifs
Member
 
Topic author
Posts: 648
Likes: 1 post
Liked in: 0 post
Joined: Sun Sep 06, 2009 12:08 pm
Location: Ørsta Norway
Info

Re: multiple parameters

by leifs » Thu Feb 25, 2016 5:25 pm

the paragraph "How to force the display of the tour in Flash viewer or in HTML5" explains the parameters on /?html5, but not chaining parameters

the paragraph "How does deep linking work in Panotour Pro" explains deep linking and chaining of deep-link-parameters

my case is chaining html5-parameter with deep-link-parameter. looking at the first paragraph I didn't find anything about chaining, I should have looked at the second paragraph and guessed that & also can be used for "combined chaining" for html5 and deep-linking.

btw:
the first paragraph explains ?html5=prefer
I use the "inverse parameter", not documented, ?flash=prefer !!
the reason ? partial panoramas produced with PTP 2.50 behaves mediocre with html5, much better with flash ! therefore I want these panos to be shown using flash, if available. therfore ?flash=prefer


Who is online

Users browsing this forum: No registered users and 1 guest

cron