
|
 |

|
How to start ActiveSlide in a web-browser

Here you can find a tutorial how to start ActiveSlide presentations in a web-browser. For the user, it’s quite simple: he clicks on a hyperlink and a separate window with the desired presentation will open – with ActiveSlide’s FULL functionality! Our tutorial describes how to prepare your presentation and web-server for this kind of deployment.
Requirements on the user’s computer
If you want to interact with an ActiveSlide presentation, you have to install one of the following software packages on your computer: a) ActiveSlide (Standard or Professional Edition) OR b) Java Web Start Our tutorial describes option b), the deployment using Java Web Start. Java Web Start is included in the Java Runtime Environment (JRE) as part of J2SE 1.4.2. For earlier versions of Java, Web Start can be downloaded separately. However, we strongly recommend to update your system with a current release of the Java platform.
How to prepare your ActiveSlide presentation
To start your presentation from within a web-browser, all presentation-related files (the .tap file, images etc.) have to be in one zip archive. To create a zip archive, you can use tools like WinZip (for the windows platform, s.below).
Only one .tap-file should be in your zip archive. When ActiveSlide loads your archive, this .tap file will be opened. If there are more than one .tap files in your archive, ActiveSlide will open the first it can find.
The archive should contain all external ressources in the correct directory structure. If your presentation should access an image at "./subDir/myImage.gif“, the archive must contain an directorey called "subDir" that stores an image called "myImage.gif".
Tip: before working on a new presentation, create a separate directory for it. All presentation related files should be stored in this directory – the .tap file and all external resources like images etc. To create a zip archive for Java Web Start, you just have to compress (zip) this directory. Please make sure that your archive contains just ONE .tap file.
How to prepare your web-server for ActiveSlide with Java Web Start
a) Make sure your web server supports jnlp-files. b) Upload all necessary files on your web-server
Issue a) Java Web Start and ActiveSlide are started by a jnlp-file. You treat jnlp-files like html-files – they can be linked within another html-page and the server sends it to your web-browser when requested.
Next to a jnlp-file the server sends information to your browser how to process this file. This information is called MIME-type. The MIME-type we need for Java Web Start is application/x-java-jnlp-file. You have to make sure that your web-server is configured to support this MIME-type.
It depends on the type of your server how to configure it. Many web-severs use configuration files for MIME-types. In this case, just append the folowing line to that file: application/x-java-jnlp-file
Issue b) At first, upload the following files to install the ActiveSlide Online Engine: acts.jar lang.jar ext1.jar ext2.jar ext3.jar ext4.jar resources.jar
Then, upload your presentation archive (e.g. myPresentation.zip).
Important: Your presentation archive and the ActiveSlide Online Engine have to be stored on the SAME server!
Finally, create and upload your presentation-specific jnlp-file and create a hyperlink to this file. In the next section, you learn how to create a jnlp-file.
How to create a jnlp-file A jnlp-file is the necessary link between the ActiveSlide Online Engine, your presentation archive and the web-page that opens your presentation.
At first, define the codebase and address of your jnlp-file.
Codebase is an URL that specifies your web-server or a directory on that web-server. href stores the relative address of your jnlp-file (relative concerning the codebase specified).
The following section defines the location of the ActiveSlide Online Engine. This section can remain unchanged as long as all .jar-files are located at the codebase address.
Each href entry defines a relative URL (relative concerning the codebase specified).
The next section specifies the arguments ActiveSlide will be started with. The second argument defines which presentation archive will be opened. runtime http://www.activeslide.com/download/webstart/ webdemos/alldemo.zip
Please note: the presentation archive has to be on the SAME server as the ActiveSlide Online Engine!
Specify further presentations As soon as ActiveSlide has started, a different presentation can be loaded using its URL. Another option is to specify these URLs within your jnlp file. Advantage: users can select those presentations in a menu.
webstart course=webdemos/car/a7.zip course=webdemos/tree/a9.zip course=webdemos/tobias/a3.zip course=webdemos/hamburg/a6.zip course=webdemos/assessment/a6.zip course=webdemos/katrinb/allQuiz.zip course=webdemos/water/a5.zip course=webdemos/thesun/pres/a2.zip
After webstart you can add as many argument-lines as necessary. In course= you specify the relative address of these presentations (relative concerning the codebase specified).
Further arguments: jaclURL=http://www.activeslide.de/download/ webstart/resources.jar
For jaclURL, specify the address where the file resources.jar is located on your web-server.
One presentation opens another presentation courseBase=http://www.activeslide.de/download/ webstart/
If your presentation opens another presentation (e.g. in an action list), the file name of the called presentation is relative often. When ActiveSlide loads a presentation with a relative file name, it is relative to the address specified in courseBase.
Done! Just upload your jnlp-file now and create a hyperlink in your web page that will start your presentation.
Tip: The ActiveSlide Online Engine is needed just once per server!
More information:
|
|
 |
 |