SaladoPlayer:Quick start

From PanoZona

Revision as of 16:02, 9 May 2011 by MStandio (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


[edit] Downloading SaladoPlayer

Get newest version of SaladoPlayer from downloads section. Downloaded package does not contain sample panoramas, in order to run example you need to download latest "sample panoramic images" package from the same site and place its content under "panoramas" directory. Resulting folder structure must be analogical to following example:

SaladoPlayer-version
┣SaladoPlayer.swf
┣panoramas
┃┣panorama1directory
┃┃┣panorama1_f.xml
┃┃┣panorama1_f
┃┃┗[...]
┃┣panorama2directory
┃┃┣panorama2_f.xml
┃┃┣panorama2_f
┃┃┗[...]
┃┗[...]
┗[...]

To run SaladoPlayer open "index.html" in web browser. If You run into security errors, go to Global Security Settings panel and add parent directory of downloaded SaladoPlayer package.

[edit] Pointing to configuration file

SaladoPlayer needs configuration file in order to locate images and modules. Every path described in xml configuration file is relative to SaladoPlayer.swf file. SaladoPlayer package contains "examples" folder with configurations that demonstrate SaladoPlayer features. You can point to different configuration files with use of flashvars. In order to load different configuration files, you need to edit "index.html" file.

[edit] Passing path with flashvars

  <script type="text/javascript" src="embed/swfobject.js"></script>
  <script type="text/javascript">
   var flashvars = {};
     flashvars.xml = "examples/_intro/minimal.xml";  // <- change this value
     [...]  
   swfobject.embedSWF("SaladoPlayer.swf", "embedDivId", "100%", "100%", "10.0.0", "embed/expressInstall.swf", flashvars, params);
  </script>

[edit] Creating panoramic images

Currently PanoSalado accepts only cubic images in Deep Zoom format. You can convert regular cubic and equirectangular jpg images to proper format with SaladoConverter.

[edit] Read more





Whos here now:   Members 0   Guests 1   Bots & Crawlers 0
 
Personal tools
Namespaces
Variants
Actions
Forum Menu
SaladoPlayer
SaladoConverter
Site navigation
Toolbox
DONATE