Interviewer - Server > 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 would rather use the standard HTML player for telephone interviews, you can 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.
Loading the layout template that is specified in the Player XML.
By default, the left-to-right keyboard player LayoutTemplate is loaded. When the LayoutTemplate is set toRTL.htm in the routing script, the RTL.htm from the keyboard player is loaded (which is used to support right-to-left languages). BecauseRTL.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 and right-to-left languages are 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