|
|
| |
| |
|
|
| |
|
PKL_SetInfo() |
|
Description
Updates the "Info Display" text, if it's available in the skin..
Usage
PKL_SetInfo(DataObject:Object) :Void
Parameters
DataObject:Object - An Object, or JSON containing the following values:
- player
- artist
- title
Returns
Nothing
Example Code
If only one player exists on the page:
<script language="javascript">
PKL_SetInfo( { artist: "My Artist", title: "New Track Title" } );
</script>
Multiple players require including "player" to specify which player
<script language="javascript">
PKL_SetInfo( { player: "MyPlayer1", artist: "My Artist", title: "New Track Title" } );
</script>
Using an Object instead of JSON
<script language="javascript">
var MyData = new Object():
MyData.player = "MyPlayer1";
MyData.artist = "My Artist";
MyData.title = "New Track Title";
PKL_AddPlayer(MyData);
</script>
|
|
|
|
 |
 |
 |
|
| |
|
|
|