player working inside mako template structure. See /player url for example and player.mako