<doc>
  <legacy_id>1371</legacy_id>
  <name>templatePlayer</name>
  <type>keyword</type>
  <syntax>
  </syntax>
  <library></library>
  <objects>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
  </classification>
  <references>
    <keyword tag="templateScrollbar">templateScrollbar Keyword</keyword>
    <object tag="player">player Object</object>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Used with the <command tag="set">set</command> <glossary tag="command">command</glossary> to set the <property tag="properties">properties</property> of newly created <glossary tag="player">players</glossary>.</summary>
  <examples>
    <example>set the alwaysBuffer of the templatePlayer to true</example>
  </examples>
  <description>
    <p>Use the <b>templatePlayer</b> <glossary tag="keyword">keyword</glossary> to set up <keyword tag="default">default</keyword> <property tag="properties">properties</property> to be used for any new <glossary tag="player">players</glossary> you create.</p><p/><p><b>Comments:</b></p><p>The <b>templatePlayer</b> can be thought of as a special, abstract <glossary tag="object">object</glossary>. It is not an actual <keyword tag="player">player</keyword>, but it has all the <property tag="properties">properties</property> of a <keyword tag="player">player</keyword>. The <property tag="ID">ID</property> <glossary tag="property">property</glossary> of the <b>templatePlayer</b> is zero.</p><p/><p>You can use the <b>set</b> <glossary tag="command">command</glossary> to set the <property tag="properties">properties</property> of the <b>templatePlayer</b> before creating a <keyword tag="player">player</keyword>. The new <keyword tag="player">player</keyword> has the <property tag="properties">properties</property> of the <b>templatePlayer</b>, by <keyword tag="default">default</keyword>. Changing the <property tag="properties">properties</property> of the <b>templatePlayer</b> does not affect existing <glossary tag="player">players</glossary>.</p><p/><p>The properties of the <b>templatePlayer</b> can be returned to the default settings using the <command tag="reset">reset</command> command.</p><p/><p>You can refer to the <b>templatePlayer</b> using any of the following forms:</p><p><code>        templatePlayer</code></p><p><code>        the templatePlayer</code></p><p><code/>        templatePlayer()</p><p/><p><code/><b>Note:</b><code/> The <b>templatePlayer</b> <glossary tag="keyword">keyword</glossary> is implemented internally as a <control_st tag="function">function</control_st> and appears in the <function tag="functionNames">functionNames</function>. However, it cannot be used as a <control_st tag="function">function</control_st> in an <glossary tag="expression">expression</glossary>.</p>
  </description>
</doc>