HHPlayer: add utility class