• I want to embed a video from vimeo, based on a metabox value created with the metabox.io plugin.

    I’m using this code:

    <?php echo wp_oembed_get( rwmb_meta( 'home_webinar_teaservideo', array(), get_the_ID() ) ); ?>

    The code works well and there is no php error but the Debug Bar – Plugin returns this warning:

    WARNING: wp-includes/class-http.php:2136 - gzinflate(): data error
    require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/skillqube/templates/home.php'), wp_oembed_get, WP_oEmbed->get_html, WP_oEmbed->fetch, WP_oEmbed->_fetch_with_format, wp_safe_remote_get, WP_Http->get, WP_Http->request, WP_Http->_dispatch_request, WP_Http_Curl->request, WP_Http_Encoding::decompress, gzinflate

    What does this mean and why does my code work well although there is this error message.

    Thank you for your help

The topic ‘oEmbed Vimeo – wp_oembed_get’ is closed to new replies.