Generate embed widget along with markup