EZK Client object


This object integrates all information related to the client requesting the data.
It automatically detects playerid, language, firmware version, and most importantly, what type of browser is accessing (KML/HTML).

String containing the remote IP of the client.

String containing the remote player language setting, if detected.
Example: English, Danish, Portuguese. The reported language string is always an english word.

Integer containing the remote player language number.
Example: 0 - unknown, 1 - English, etc

String containing the remote player model.
Even if player fails to include ?PlayerModel=XXXXX in the querystring parameters, the player model can be automatically identified using the player database.
This step is done automatically by the EZK scripting host ensuring that playermodel is present whenever possible.

Boolean function that returns true if the remote client is a real player (ex: DP-500, DP-558, Transtechnology DVX-500E, etc).
If client is a web/kml browser or just a plain PC, then this boolean will be false.

Boolean function that returns true if the remote client is a KML Browser (ex: EzLink's KML Browser PRO)
The output of the EZK script should be in KML/XML format

Boolean function that returns true if the remote client is a standard web browser (ex: Internet Explorer, Netscape, Firefox, etc)
The output of the EZK script should be in HTML format

String - Firmware version of the player, if detected. Ex: 2.8.8, 1.1.1, etc

String - Brand name of the player, if detected. Example: KiSS, Transtechnology, iLink, etc

Long - Available screen width
This variable is very useful so one can adapt the HTML/KML output page to the actual screen size of the player.
Returns -1 if dynamic (ex: HTML Browser)
Returns 0 if not detected

Long - Available screen height
This variable is very useful so one can adapt the HTML/KML output page to the actual screen size of the player.
Returns -1 if dynamic (ex: HTML Browser)
Returns 0 if not detected

 

Non standard objects (for alpha development stages only)

Don't use this object since it will be removed from the final version

Don't use this object since it will be removed from the final version

 

 

Examples:

<%
ezk.output "Your IP Is: " & ezk.client.ClientIP
if ezk.client.isWebBrowser then
    ezk.output "You are accessing with a web browser"
    else
    ezk.output "You are not accessing with a web browser"
    end if
%>