Multimedia: Inline "tmpl" from helpers

This was the only other object injected into the global namespace and is only used by mediaplayer.

/cc @LaurentGoderre, @masterbee