auto-selecting the embed code