It means that there was a ball on Gudjohnsen's head and Hagli played it (kicked it). This is clearly a nonsense, so the writer must have meant to say Hagli played the ball onto Gudjohsen's head. That means that Hagli kicked the ball in such a way that Gudjohnsen was able to strike it with his head (a common way of playing the ball in association football (soccer).
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.