WordPress.org

Ready to get started?Download WordPress

Forums

WP YouTube Lyte
Black Background (6 posts)

  1. chubbard216
    Member
    Posted 9 months ago #

    The WP YouTube Lyte plugin was working wonderfully during local development, but somehow it appears to be broken on the live site.

    http://www.inshapemom.com/cooking-videos/

    I have disabled all of the plugins and cleared the cache, and still no avail.

    Any insight would be much appreciated.

    http://wordpress.org/plugins/wp-youtube-lyte/

  2. futtta
    Member
    Plugin Author

    Posted 9 months ago #

    weird .. can you copy/paste the httpv-links you are using?

  3. chubbard216
    Member
    Posted 9 months ago #

    Here is the link for the first video listed in that link above:

    Artichoke Caraway Soup Stew Low Fat Low Carb

    httpv://www.youtube.com/watch?v=fM7bNiYBcBs

    The link is the content section of the post

  4. futtta
    Member
    Plugin Author

    Posted 9 months ago #

    that is not weird, that is very weird ...

    for reasons I do not understand, it is recognized as a playlist on your PROD, but as it isn't a playlist really, the calls to fetch info from youtube fail.

    I just did a quick test on my testblog and it renders just fine there.

    Did you make any changes to wp-youtube-lyte.php? Or are you doing some stuff with the API (maybe using the lyte_helper.php example plugin)?

  5. chubbard216
    Member
    Posted 8 months ago #

    I have not touched the wp-youtube-lyte.php file nor have I dug into the API - although that was my next step.

    For what it is worth, I have also disabled and deleted the plugin, and then reinstalled it to no avail.

    Any ideas as to how I should proceed?

  6. futtta
    Member
    Plugin Author

    Posted 8 months ago #

    OK, 2 things;

    1. What platform are you on? What OS (linux, windows server, ...), what webserver (Apache, Lighthttpd, IIS, ...), what version of PHP, how much memory available for PHP?
    2. in wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php on line 100 change
      foreach($matches as $match) {
           /** API: filter hook to preparse fragment in a httpv-url, e.g. to force hqThumb=1 or showinfo=0 */

      into

      foreach($matches as $match) {
           echo "<pre>";
           print_r($match);
           echo "</pre>";
           /** API: filter hook to preparse fragment in a httpv-url, e.g. to force hqThumb=1 or showinfo=0 */

      and report back what arrays are printed.

    maybe the answers to these 2 questions can point us in the right direction ...

    frank

Reply

You must log in to post.

About this Plugin

About this Topic

Tags