United Knowledge Slideshow Player - readme.txt Copyright: United Knowledge, 2009 The Slideshow PLayer is licensed under the terms of the GNU General Public License, version 2 http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt SWFObject 2, the code used to display the Slideshow, is licensed under the MIT License http://www.opensource.org/licenses/mit-license.php Check out the latest source on: http://git.st.unitedknowledge.org/git/ukplayer.git git clone git://git.st.unitedknowledge.org/ukplayer.git git clone http://git.st.unitedknowledge.org/git/ukplayer.git More information about licences can be found in the file licences.txt in this directory. ********************************************************************************************** * * * The configuration XML * * * ********************************************************************************************** With the configuration .xml file you can customize the look and the behaviour of the slideshow. It contains the following properties (the values are example values; there are default values for most, but we recommend setting ALL properties yourself). ********************************************************************************************** * Structure of the xml * ********************************************************************************************** [properties go here] ********************************************************************************************** * General properties * ********************************************************************************************** /someUrl/someXmlFile.xml The url to the .xml file that contains the content. Value: an absolute or relative url to an xml file 400 300 The width and height of the player itself (this value is overwritten by the flashVars but the tags need to be here). Value: number in px 8 The duration of each slide. This can be overwritten by setting the duration per slide in the content .xml file. Value: number in seconds 400 300 If the width or height of a slide is larger than the values specified here, the slide will be resized proportionally. Slides that are smaller than the slidshow will not be resized. Value: number in px 0xeeeeee The background color for the slideshow. This will be visible during the transitions and when a slide is smaller than the slideshow. Value: 0x followed by hexadecimal color rounded The textarea, controls and thumbnails can be displayed with two different skins. Value: simple or rounded ********************************************************************************************** * Text properties * ********************************************************************************************** Verdana The font of the text in the slideshow. Value: Verdana, Arial or TimesNewRoman 12 The font size of the text in the slideshow. Value: number in px 0xffffff The color of the text in the slideshow. Value: 0x followed by hexadecimal color 0xffffff The color of the border of the textarea. Value: 0x followed by hexadecimal color 0x000000 The background color of the textarea. Value: 0x followed by hexadecimal color false When set to true the textarea will hide after a few seconds. Value: true or false over The textarea can be postioned over the slides, above the slides (the height of the player should be the sum of the height of the slides and the height of the textarea) or can be hidden. Value: over, above or none 50 The minimum height of the textarea. Value: number in px ********************************************************************************************** * Controls properties * ********************************************************************************************** 0xffffff The color of the buttons. Value: 0x followed by hexadecimal color 0xffffff The color of the border of the area with the buttons. Value: 0x followed by hexadecimal color 0x000000 The background color of the area with the buttons. Value: 0x followed by hexadecimal color true When set to true the controls will hide after a few seconds. Value: true or false 20 The width of the big play button (which appears when auto_start is false and, if loop is set to false, after the slideshow has finished) can be set in a percentage of the total width of the movie. Value: percentage of movie width 200 A maximum width for the play button to prevent it from becoming too large. Value: number in px ********************************************************************************************** * Thumbnail properties * ********************************************************************************************** 40 30 The height and width of each thumbnail image in the bar at the bottom of the slideshow. Value: number in px 0x888888 The color of the border of each thumbnail image. Value: 0x followed by hexadecimal color true When set to true the thumbnail bar will hide after a few seconds. Value: true or false 160 The width of the area in the center of the thumbnail bar in which the user can hover the mouse, without the thumbnail bar moving to the left or to the right. Value: number in px 6 The width of the gap between two thumbnail images. Value: number in px false When set to true, the thumbnails are hidden. Value: true or false ********************************************************************************************** * Behaviour properties * ********************************************************************************************** true If true the slideshow will start with the sound muted. Value: true or false off If the sound is turned off, the audio files will not be played and the mute and volume controls will be hidden. Value: on or off false If true the slideshow will start upon loading. If false a play button will be displayed. Value: true or false true If true the slideshow will pause when clicking on a thumbnail or clicking the previous or next buttons. Value: true or false false If true the slideshow will loop. If false, when the last slide has been displayed, the slideshow will move back to the first slide and show a play button. Value: true or false ********************************************************************************************** * Error messages * ********************************************************************************************** Value: any text in CDATA tags: ********************************************************************************************** * * * The content XML * * * ********************************************************************************************** The content .xml file contains the properties for each slide. ********************************************************************************************** * Structure of the xml * ********************************************************************************************** [properties go here] [properties go here] ... ********************************************************************************************** * Properties in the slide tag * ********************************************************************************************** <![CDATA[My first slide]]> The title of the slide. Value: any text in CDATA tags: The description of the slide. Value: any text in CDATA tags: /someUrl/someImg.jpg The url to the slide image. Value: an absolute or relative url to a .jpg, .gif or .png file /someUrl/someImg_thumb.jpg The url to the thumbnail of the slide image. Value: an absolute or relative url to a .jpg, .gif or .png file /someUrl/someImg_thumb.jpg The url to the sound file that will be played when the slide is displayed. It will be played once for the duration of the slide (if the duration of the sound file is longer than the set duration of the slide it will be cut off). This property is optional. Value: an absolute or relative url to a .mp3 file 8 The duration for this specific slide. This value will overwrite the duration value set in the configuration xml. This property is optional. Value: number in seconds 400 300 The width and height of the slide. This will overwrite the default_slidewidth and default_slideheight set in the configuration xml. The width and height properties are optional. Value: number in px ********************************************************************************************** * eof * **********************************************************************************************