Message passing.

Pull playerid from <span> and ask the background script for information
about the player.