MediaEmbed: improved support for custom schemes