Try not setting the document domain on embed.