player-configs are edited via sets of config-variables for a higher flexibility.
the config-syntax is quite simple.
strings behind ”#” are comments.
variable values are simply assigned like this: <varname>=<value>;
each assignment has to end with a semicolon.
that´s it. example, madame?
# this will set the default color of all control icons control_fontcolor=0xFFF78C; # a useless comment here # this sets the color of the "percent loaded" indication bar control_bar_loaded_color=0xFFF78C; # i love comments # this will give the scrub bar the same color than the "percent loaded" bar # which is quite... stupid control_bar_scrub_color=0xFFF78C;
setting onscreen texts.
| config var | valid values | example | purpose |
|---|---|---|---|
| txt_tuningin | string | “tuning in_” | shown in the center of the screen as initial loading message |
| txt_courtesy | string | “courtesy of ” | text prefixed to hoster-name as shown in overlay |
| txt_starting | string | “here we go…” | shown in the upper left corner once a video playback starts the first time |
| txt_buffering | string | “buffering…” | shown in the upper left corner while buffering a video |
| txt_buffer_full | string | “video loaded completely_” | shown in the upper left corner once buffer is full and no more buffering is needed |
| txt_connecting | string | “connecting…” | shown in the upper left corner while catching up a video for the first time (prior buffering) |
| txt_filenotfound | string | “FILE NOT FOUND” | shown in the upper left corner on worst case |
| txt_rendering | string | “fetching data…” | shown every time a channel- or video- infopage is requested for the first time and currently being rendered. |
| txt_initbrowser | string | “initializing” | shown once the viewer requested the channel- or video- infopage for the first time and the internal html-browser is being loaded |
values affecting player behaviors.
| config var | valid values | example | purpose |
|---|---|---|---|
| player_callback | “js_function” OR “post” | post | fires a javascript or POST callback once a videos starts or stops playing |
| player_callback_dest | some string | http://www.mypage.com/mystatistics.php | depends on config above. will fire JS function or URL named here |
| player_enable_keys | “true” or “false” | “true” | enable/disable keyboard controls |
values affecting the video object itself:
| config var | valid values | example | purpose | version |
|---|---|---|---|---|
| video_deblocking | integer between 0 and 7 | 4 (default) | please refer list “deblocking modes” | 0.60 |
| video_enable_smoothing | “true” or 1 | true | Specifies whether the video should be smoothed (interpolated) when it is scaled. For smoothing to work, the player must be in high-quality mode. The default value is true (with smoothing). | 0.60 |
| video_info_disable | “true” or “false” | false | enables / disables the info panel which pops up once a user clicks on the video area | > 0.70 |
( taken from adobe live docs )
values affecting the (optional) channel logos / CI images
| config var | valid values | example | purpose | version |
|---|---|---|---|---|
| logo_channel_tl | “true” or “false” | true | set channel logo position to top left instead of top right (which is default | > V0.68 |
| logo_start_button | fully qualified URL to an *.jpg or *.png image | http://www.myhost.com/myimage.png | in case the player is embedded with autostart disabled this image will be displayed instead of the default playbutton | > V0.70 |
values affecting the funky telly style title overlays during video playback.
| config var | valid values | example | purpose |
|---|---|---|---|
| fx_disable | true OR false | true | enables / disables the overlay bar |
| fx_silky | true OR false | false | enables / disables a silky bitmap effect layer |
| fx_color_ul | HTML color (hexadecimal triplets) | 0×215518 | left gradient fill color of the upper bar |
| fx_color_ur | HTML color (hexadecimal triplets) | 0×000000; | right gradient fill color of the upper bar |
| fx_alpha_ul | numeric values 0 - 100 | 100 | left gradient alpha setting (0-100) 0=invisible of the upper bar |
| fx_alpha_ur | numeric values 0 - 100 | 0 | right gradient alpha setting of the upper bar |
| fx_filltype_u | [linear/radial] | linear | linear or radial fill type (second one looks like oldschool raster-bars) of the upper bar |
| fx_fontcolor_u | HTML color (hexadecimal triplets) | 0x8C0C18 | upper fontcolor |
| fx_color_bl | HTML color (hexadecimal triplets) | 0xffffff | left gradient color of the bottom |
| fx_color_br | HTML color (hexadecimal triplets) | 0xcccccc | right gradient color of the bottom |
| fx_alpha_bl | numeric values 0 - 100 | 100 | left gradient alpha setting (0-100) 0=invisible of the bottom bar |
| fx_alpha_br | numeric values 0 - 100 | 0 | right gradient alpha setting of the bottom bar |
| fx_filltype_b | [linear/radial] | linear | linear or gradient fill type |
| fx_fontcolor_b | HTML color (hexadecimal triplets) | 0×000000 | lower fontcolor |
| fx_transition | fade (more 2 come :)) | fade | overlay fade -in -out effect |
values affecting the player´s control elements and panels (controlbar, videoinfo, playlist etc.pp.)
| config var | valid values | example | purpose | version |
|---|---|---|---|---|
| control_style | any string | “strange” | if this value is not set to “normal” (which is default) the control elements will be placed in the center of the video display | > 0.68 |
| control_display_sqeeze | true OR false | false (default) | if the controlbar is in “normal” style setting this variable to “true” will squeeze the video area in a way that the controlbar does not overlap. | > 0.67 |
| control_shadow_strength | numeric 0-255 | 1 | define strength of controllbar- and icon- shadow - 0=no shadow | > 0.67 |
| control_glow_strength | numeric 0-255 | 1 | define strength of controlbar glow shadow - 0=no glow | > 0.70 |
| control_radius | numeric 0-180 | 10 | rounded corner radius of control element background 0=square | > 0.70 |
| control_fill_ratio_a | numeric 0-256 | 0 | upper gradient fill offset | > 0.67 |
| control_fill_ratio_b | numeric 0-256 | 0 | lower gradient fill offset | > 0.67 |
| control_fill_a | HTML color (hexadecimal triplets) | 0x8C0C18 | background upper gradient fill color ( false=fill is disabled ) | > 0.66 |
| control_fill_b | HTML color (hexadecimal triplets) | 0×000000 | background lower gradient fill color ( false=fill is disabled ) | > 0.66 |
| control_alpha_a | numeric 0-100 | 80 | upper alpha (opacity) | obsolete since > 0.66 |
| control_alpha_b | numeric 0-100 | 0 | lower alpha (opacity) | obsolete since > 0.66 |
| control_glow | HTML color (hexadecimal triplets) | 0x8C0C18 | border glow color ( false=disabled ) | > 0.66 |
| control_frontcolor | HTML color (hexadecimal triplets) | 0x8C0C18 | icons regular color | |
| control_lightcolor | HTML color (hexadecimal triplets) | 0xFFF78C | icons mouseover color | |
| control_circlecolor | HTML color (hexadecimal triplets) | 0xFFF78C | icons circle background color | |
| control_circle_hide | true / false | false | icons hide circles | |
| control_fontcolor | HTML color (hexadecimal triplets) | 0xFFF78C | font color within control elements | |
| control_bar_loaded_color | HTML color (hexadecimal triplets) | 0xFFF78C | load indication bar color | |
| control_bar_scrub_color | HTML color (hexadecimal triplets) | 0xFFF78C | scrub bar color |