This section is only important if you want to show any flv or mp3 file using the JW FLV Player!
The FLV Player is highly configurable and there are 2 possibles where you can do this:
Configure the FLV Player directly inside the content element using the field “Alternative text”Just add all properties comma separated in the text field (each line stands for one file of the content element).
Use the constant editor to configure all videos on your website or all videos of a part of the page tree.
Both ways follow the same syntax which is explained in the reference
These are all possible properties to configure the FLV player inside the content element “text with images”. Most of the description has been taken from the website of the developer.
Property: | Data type: | Description: | Default: |
useSwfObject | boolean | Use the swfObject for the player instead of an emebed tag | 1 |
width | string | Default width of the player | 300 |
height | string | Default height of the player | 250 |
backgroundColor | string | Backgroundcolor of the player | FFFFFF |
backgroundImage | string | If you play MP3 of FLV files, you can use this flashvar to show a preview image or album cover. Use a url without the http:// ! | |
foregroundColor | string | Texts / buttons color of the player | 000000 |
highlightColor | string | Rollover/ active color of the player | 000000 |
screenColor | string | Color of the display background screen | 000000 |
largeControllBar | string | Set this to 1 to make the controlbar twice as large. This is useful to visually impaired users | 0 |
logo | string | Set this to an image that can be put as a watermark logo in the top right corner of the display. Transparent PNG files give the best results Use a url without the http:// ! | |
showNavigation | boolean | Set this to 0 to hide the whole navigation | 1 |
showDigits | string | Set this to false if you don't want the elapsed/remaining time to display in the controlbar of the players. Quite handy to save some space. Set it to "total" to show the total time instead of the remaining time. Possible options: true,false,total | true |
showDownload | boolean | Set this to 1 to show a downloadbutton in the controlbar. | 0 |
showEqualizer | boolean | Set to 1 to show a fake equalizer in the display. It adds a nice graphical touch when you are playing MP3 files. | 0 |
showLoadPlay | boolean | Show or hide the play and activity icons in the middle of the display. If set to false, the overlaid controlbar will also hide with the players | 1 |
showVolume | boolean | Set this to false to hide the volume button and save space. | 1 |
autoStart | string | Set this to "true" to make the player automatically start playing when the page loads. If set to "muted", the player will autostart with the volume set to 0 and an unmute icon in the display. Possible options: true,false,muted | false |
autoRepeat | string | By default, the players will stop playback after every item to preserve bandwidth (repeat=false). You can set this to "list" to playback all items in a playlist once, or to "true" to continuously playback your song/movie/playlist. (Playlists not yet supported) Possible options: false,true,list | false |
volume | int | The default volume for playback of sounds/movies is 80, but you can set another startup value | 80 |
[tsref:plugin.rgmediaimages]
Videos from Youtube are styleable too with 3 possible settings.
Property: | Data type: | Description: | Default: |
youtubeBorder | boolean | Setting to 1 enables a border around the entire video player. The border's primary color can be set via the youtubeColor1 parameter | 0 |
youtubeColor1 | string | The primary border color | |
youtubeColor2 | string | youtubeColor2 is the video control bar background color and secondary border color. |
Examples
These are the settings for the 3 examples at my website:
Video I
callback:1,showDownload:1,backgroundImage:www.rggooglemap.com/fileadmin/upload/rgmimg1.jpg
Video II
height:160,showDigits:false,backgroundColor:FFCC33,foregroundColor:FF3300,showVolume:false,autorepeat:true
mp3-File 1
callback:1,height:150,width:225,backgroundImage:www.rggooglemap.com/fileadmin/upload/mp3bg.jpg
Note that the callback is not available yet!