Jetpack::extra_oembed_providers PHP Method

extra_oembed_providers() public method

Add any extra oEmbed providers that we know about and use on wpcom for feature parity.
    function extra_oembed_providers()
    {
        // Cloudup: https://dev.cloudup.com/#oembed
        wp_oembed_add_provider('https://cloudup.com/*', 'https://cloudup.com/oembed');
        wp_oembed_add_provider('https://me.sh/*', 'https://me.sh/oembed?format=json');
        wp_oembed_add_provider('#https?://(www\\.)?gfycat\\.com/.*#i', 'https://api.gfycat.com/v1/oembed', true);
        wp_oembed_add_provider('#https?://[^.]+\\.(wistia\\.com|wi\\.st)/(medias|embed)/.*#', 'https://fast.wistia.com/oembed', true);
        wp_oembed_add_provider('#https?://sketchfab\\.com/.*#i', 'https://sketchfab.com/oembed', true);
    }
Jetpack