read options to use custom oembed endpoint