|
I want to publish several movies on my site, what's the best file organisation ?
|
|
|
|
|
|
|
|
|
You should create a folder with contains the player and one subfolder for each project. In this configuration, the player is loaded only once to play all the movies. Each time the user loads a movie, you avoid a 76 Ko transfert and several seconds of loading for the final user.
For example, on ECTI-home.net I made this for our tutorials :
I place all tutorials in the www.ecti-home.net/tuto folder
/tuto/player.dcr /tuto/Project1/header.prt -- general information about the project /tuto/Project1/shotpart_xxxx.prt -- all shot files of the project /tuto/Project1/index.html -- only if you need an external access to the project, if you want to place a movie in a CMS or a portal website, you should read the question "How to place a movie in my portal website, I don't use standard html pages ?" in this FAQ. /tuto/Project2/header.prt /tuto/Project2/shotpart_xxxx.prt /tuto/Project2/index.html
Then in the javascript used to show the movie you can use :
-"/tuto/player.dcr" as parameter "source" the object -"/tuto/project1" as parameter "sw2" of the object to indicate the movie to load |