MediaEmbed: added support for explicit attribute declarations when adding a site