general

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;

to check which version of Projekktor you are using right click anywhere on the video display. the version information is shown within the appearing options dialog. it might happen that some features described in this wikipages are for version which are not yet released.
you should know that none of this config-variables are checked for validity. if a value is not well formed, of illegal type or misspelled FEEDBEAT PROJEKKTOR ™ will simply fall back to it´s (most of times damn ugly) default value for the corresponding property

txt_

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

player_

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

video_

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

deblocking modes

  • 0–(default) Let the video compressor apply the deblocking filter as needed.
  • 1–Do not use any deblocking filter.
  • 2–Use the Sorenson deblocking filter.
  • 3–Use the On2 deblocking filter and no deringing filter.
  • 4–Use the On2 deblocking and the fast On2 deringing filter.
  • 5–Use the On2 deblocking and the better On2 deringing filter.
  • 6–Same as 5.
  • 7–Same as 5.

( 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

fx_

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

control_

values affecting the player´s control elements and panels (controlbar, videoinfo, playlist etc.pp.)

config var valid values example purpose version
control_styleany 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_sqeezetrue 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_strengthnumeric 0-255 1 define strength of controllbar- and icon- shadow - 0=no shadow > 0.67
control_glow_strengthnumeric 0-255 1 define strength of controlbar glow shadow - 0=no glow > 0.70
control_radiusnumeric 0-180 10 rounded corner radius of control element background 0=square > 0.70
control_fill_ratio_anumeric 0-256 0 upper gradient fill offset > 0.67
control_fill_ratio_bnumeric 0-256 0 lower gradient fill offset > 0.67
control_fill_aHTML color (hexadecimal triplets) 0x8C0C18 background upper gradient fill color ( false=fill is disabled )> 0.66
control_fill_bHTML color (hexadecimal triplets) 0×000000 background lower gradient fill color ( false=fill is disabled ) > 0.66
control_alpha_anumeric 0-100 80 upper alpha (opacity) obsolete since > 0.66
control_alpha_bnumeric 0-100 0 lower alpha (opacity) obsolete since > 0.66
control_glowHTML color (hexadecimal triplets) 0x8C0C18 border glow color ( false=disabled ) > 0.66
control_frontcolorHTML color (hexadecimal triplets) 0x8C0C18 icons regular color
control_lightcolorHTML color (hexadecimal triplets) 0xFFF78C icons mouseover color
control_circlecolorHTML color (hexadecimal triplets) 0xFFF78C icons circle background color
control_circle_hidetrue / false false icons hide circles
control_fontcolorHTML color (hexadecimal triplets) 0xFFF78C font color within control elements
control_bar_loaded_colorHTML color (hexadecimal triplets) 0xFFF78C load indication bar color
control_bar_scrub_colorHTML color (hexadecimal triplets) 0xFFF78C scrub bar color
 
tools/playertemplateeditor.txt · Last modified: 2008/03/10 16:17 by 84.142.50.111
 
driven by dokuwiki  |  provided by se.kluger inc.