replacing embeds with objects for ff.