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.

  • "Worldtour360" started this thread

Posts: 15

Location: Canada

Occupation: Photography/Web design

  • Send private message

1

Monday, March 5th 2012, 1:12am

Domain limited straight from Make pano Droplet

I would like to know if there is a way to make a 360 "domain limited" without having to use KRprotect.. The easiest way would be straight from the MAKE TOUR droplet... if not a plugin maybe? Thanks for your help! *thumbup*

2

Wednesday, March 7th 2012, 12:22pm

Hi,

yes,

for swf files with embedded, that's possible that way:

in the .config files it is possible to define parameters for the "kprotectcl" tool (the command line version of the krpano Protect Tool) by he kprotectclparameters setting:

Source code

1
2
3
4
5
# kprotectclparameters
# - parameter for the kprotectcl tool 
# - only needed for buildembeddedswf=true
#
kprotectclparameters=-nomb -swfsize=900x600


and the kprotectcl tools allows domain limiting by the "-domain=###" parameters:

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
syntax: kprotectcl -o=output.swf [options] <file1|name> ... <fileN|name>

options:
  -o=### ... path/name of output file

  -xml=# 	... startup xml file to embed
  -domain=#  ... limit to domain (can be used more than once)

  -noep ... disable external parameters (http-get, flashvars)
  -nojs ... disable javascript interface
  -nolu ... disable local / offline usage
  -bf   ... branding free

  -expire=YYYY-MM-DD ... set a panorama expire date
  -expiredurl=#  	... url to open at expire date

  -swfsize=# ... set standalone size of the swf (WIDTHxHEIGHT)
  -fs    	... start in fullscreen mode (standalone only)
  -nomb  	... no menu bar (standalone only)
  -baseswf=# ... path to the base krpano.swf (default is tool folder)
  -licpath=# ... path to the folder with the krpano licenses
  -fpexe=#   ... path to flashplayer standalone player exe file (Windows only)


that means e.g. by adding:

Source code

1
kprotectclparameters=-domain=page1.com -domain=page2.com
in the .config file it's possible to create domain limited swf files automatically (note - buildembeddedswf must be also set to true


and for swf file without embedded data, generate once a domain limited swf file by the krpano Protect Tool, and change in the .config file the path to the source swf by file by the "krpanoswf" parameter:

Source code

1
krpanoswf=your-domain-limited.swf


best regards,
Klaus

  • "Worldtour360" started this thread

Posts: 15

Location: Canada

Occupation: Photography/Web design

  • Send private message

3

Sunday, March 11th 2012, 3:45am

Thanks a lot I will try it!

  • "Worldtour360" started this thread

Posts: 15

Location: Canada

Occupation: Photography/Web design

  • Send private message

4

Monday, March 19th 2012, 11:55pm

Thanks it works! Is there a way to create 3 files at once? One without limitation, one domain limited and one domain limited + offline disable?... using the same or 3 different droplets? Basically I would only need to be able to automatically rename the filename like "filename_domainlimited.swf, filename_normal.swf, filename_offline.swf"..

I tried :

kprotectclparameters=-o=%INPUTPATH%/%BASENAME%_domainlimited.swf but it saved the file in home/%INPUTPATH%/ with filename %BASENAME%_domainlimited.swf !

5

Wednesday, March 21st 2012, 9:32pm

Hi,
Is there a way to create 3 files at once?
only by modifying the droplet itself,
on Windows you can edit the batch file and call the kmakemultires tool a several time with different config files,
on Mac you can edit the droplet with the Apple Script Editor and there too try to call the kmakemultires tool a several time with different config files,

best regards,
Klaus

  • "Worldtour360" started this thread

Posts: 15

Location: Canada

Occupation: Photography/Web design

  • Send private message

6

Wednesday, March 21st 2012, 9:59pm

OK thanks, and how do I configure it to give them different filename? ex "filename_option1.swf, filename_option2.swf" Because if I modify the droplet with apple script it will rewrite the same file 3 times isn't? thanks again for your help.