add media embed method