[ted] add support for youtube embeds and update tests