library for converting URLs to embed codes