Vimeo Embed Issues

  • Unknown's avatar

    Okay, as a lot of you are aware by now Vimeo decided to make some changes to its API.

    Unfortunately, this has affected WordPress and embedded Vimeo videos on it. A temporary quick fix was discovered and is working for most people. It is almost working for me but for one issue…when I open up a WordPress page within a WordPress template, all the videos appear no problem. However, I have a website where I call certain WordPress pages into my code (which is not a WordPress template) by using code like:

    <?php
    $page_id = 49;
    $page_data = get_page( $page_id );
    $content = apply_filters(‘the_content’, $page_data->post_content);
    echo $content;
    ?>

    Now this page works fine within a template, but as soon as I call it out from a html page with this code, any new videos that I link to now do not work.

    Anyone else experience this or know if there is a fix for this?

    Cheers.

  • Unknown's avatar

    Hi. If that PHP “works fine within a template”, it means you are using a self-hosted WordPress blog and are in the wrong forum. Please ask your question at http://wordpress.org/support

    You are currently in a forum for blogs hosted by WordPress.com and our answers will not apply to your situation. Thanks and I hope you find a solution to your problem soon.

  • Unknown's avatar

    Ahh that would make sense, sorry – cheers for the correction.

  • Unknown's avatar

    Ahh that would make sense, sorry – cheers for the correction.

  • The topic ‘Vimeo Embed Issues’ is closed to new replies.