Compile player template