added options to the getEmbedHtml method