Embeds used to be primarily served through the https://datawrapper.dwcdn.net/[UNIQUE STRING]/[NUMBER]/
URLs, but now the share URLs provided are primarily in the format https://www.datawrapper.de/_/[UNIQUE STRING/
. This plugin currently only supports the former. To support the latter, all that needs to be added is the following, just after the previous wp_oembed_add_provider()
call.
wp_oembed_add_provider( 'https://www.datawrapper.de/_/*', 'https://api.datawrapper.de/v3/oembed', false );