equal
deleted
inserted
replaced
30 |
30 |
31 Language is defined ISO 639-1 (e.g., "es" pour l’Espagnol, "ja" pour le Japonais, "eu" pour le Basque). As of July 2012, only English ("en") and French ("fr") are available. |
31 Language is defined ISO 639-1 (e.g., "es" pour l’Espagnol, "ja" pour le Japonais, "eu" pour le Basque). As of July 2012, only English ("en") and French ("fr") are available. |
32 |
32 |
33 IriSP.language = "fr"; |
33 IriSP.language = "fr"; |
34 |
34 |
35 ## Library location configuration ## |
|
36 |
|
37 By default (as defined in *defaults.js*), librairies are loaded from either a CDN (Content Distribution Network) or from the *js/libs* directory. |
|
38 |
|
39 Configuration is done by overriding the properties of *IriSP.libFiles* |
|
40 |
|
41 To use the CDN: |
|
42 |
|
43 IriSP.libFiles.useCdn = true; |
|
44 |
|
45 To change the location of the library directory: |
|
46 |
|
47 IriSP.libFiles.defaultDir = "/path/libs"; |
|
48 |
|
49 To change individual locations or to point to files outside the default directory: |
|
50 |
|
51 IriSP.libFiles.locations.jQueryUI = "libs/jquery-ui-1.8.16.custom.min.js"; |
|
52 IriSP.libFiles.locations.jwPlayerSWF = "libs/jwplayer/player.swf"; |
|
53 |
35 |
54 ## Configuration of a metadata source ## |
36 ## Configuration of a metadata source ## |
55 |
37 |
56 A metadata source is defined by its url and file type (which defines the *serializer* to use). |
38 A metadata source is defined by its url and file type (which defines the *serializer* to use). |
57 |
39 |