Developer Documentation Library > Interviewer - Server > UNICOM Intelligence Interviewer architecture > HTML players > Keyboard player
 
Keyboard player
The keyboard player is a variant of the standard HTML player and is the default player for all interviews that are conducted with the Phone Participants activity. If you prefer to use the standard HTML player for telephone interviews, update the Phone Participants configuration file. For more information, see Settings for the Phone Participants activity.
The keyboard player initiates the following tasks:
1 Renders HTML from Player XML by:
loading the Player XML
load the layout template that is specified in the Player XML
loads the left-to-right keyboard player LayoutTemplate. When the LayoutTemplate is set to RTL.htm in the routing script, the RTL.htm from the keyboard player is loaded (which supports right-to-left languages). Because RTL.htm is specific to the keyboard player, you can check whether the keyboard player is used by IOM.Info.Renderer. You must also verify whether a right-to-left language is used. For example:
' Use the RTL layout template for right-to-left languages
If IOM.Info.Renderer = "CatiPlayer" and IOM.Language.Left(3).IsOneOf("ar-", "dv-", "fa-", "he-", "syr", "ur-") then IOM.LayoutTemplate = "RTL.htm"
converting each of the elements in the supplied Player XML to HTML
inserting the HTML representation of the Player XML into the layout template.
2 Creates Player XML for the interview post back. The post is generated from the HTTP Post string.
See also
HTML players