Determine type of player

I want to set different plugin variables based on the type of player that is being loaded (HTML5/flash)
Does the kWdiget has a function that let you know which player will be loaded? (assuming uiconf is known)
If not, how can I determine after the player is loaded?

Solved.

load an empty player, and in the kdpEmpty event check the tag (for the playerid) that was created.