crossPlayer_basic
setTitle method.

cp.myPlayer.setTitle
cp.myPlayer.setTitle ( text, CSS)
property type: function.

With this method you can set the player-title in an easy manner. Titles can be before the player is drawn to the document or at anytime while the player is running. For example, you can have it updated dynamically reflecting the title of the current clip playing.

You do not have to set both arguments when updating the player title. If you only want to change the title-text and keep the applied CSS attributes, just set the CSS argument to NULL. Like;
cp.myPlayer.setTitle("Some new titletext", null );

Argument 1;
Custom text; The text will not wrap, but cause the player to stretch horizontally to fit, so remember a long title will have impact on the player size.
Argument 2;
CSS attribute/s; a string containing any valid CSS atrributes, color, font-family, font-size etc.
Example;
"color:cyan;font-size:10px;font-family:verdana"
crossPlayer_basic reference Index.