Sie sind nicht angemeldet.

Worldtour360

Anfänger

  • »Worldtour360« ist der Autor dieses Themas

Beiträge: 15

Wohnort: Canada

Beruf: Photography/Web design

  • Nachricht senden

1

Montag, 5. März 2012, 01:12

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

Mittwoch, 7. März 2012, 12:22

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:

Quellcode

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:

Quellcode

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:

Quellcode

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:

Quellcode

1
krpanoswf=your-domain-limited.swf


best regards,
Klaus

Worldtour360

Anfänger

  • »Worldtour360« ist der Autor dieses Themas

Beiträge: 15

Wohnort: Canada

Beruf: Photography/Web design

  • Nachricht senden

3

Sonntag, 11. März 2012, 03:45

Thanks a lot I will try it!

Worldtour360

Anfänger

  • »Worldtour360« ist der Autor dieses Themas

Beiträge: 15

Wohnort: Canada

Beruf: Photography/Web design

  • Nachricht senden

4

Montag, 19. März 2012, 23:55

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

Mittwoch, 21. März 2012, 21:32

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

Anfänger

  • »Worldtour360« ist der Autor dieses Themas

Beiträge: 15

Wohnort: Canada

Beruf: Photography/Web design

  • Nachricht senden

6

Mittwoch, 21. März 2012, 21:59

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.