Mixing the templates and the code from Aum requires a few changes. As an example, you need to make sure that the player uses the same pointer in my articles and in the templates. To correct that, place this line of code at the beginning of your template player action:

player = my;