getHtml function from webinar