Clearer code example: player creation outside the buffer loading callback.