MediaEmbed: added appendTemplate()