implement DW media embedding