added support for iframe's in figures