Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Frank Goossens

    (@futtta)

    Hmmm, guess there indeed is room for improvement. What would you expect to see instead?

    Thread Starter drreen

    (@drreen)

    Same configuration as in the wp youttube lyte settings.
    I want the text not to be displayed at all 🙂

    Plugin Author Frank Goossens

    (@futtta)

    makes sense 🙂

    I’ll whip something up one of the next few couple of days.

    Plugin Author Frank Goossens

    (@futtta)

    OK, can you open up wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php, go to line 251 and replace

    if ($doExcerpt) {
         $lytetemplate="";
    } elseif (($audio!==true)&&($plClass!==" playlist")&&($lyteSettings['microdata']==="1")) {

    with

    if ($doExcerpt) {
         $lytetemplate="";
    } elseif (is_feed()) {
         $postURL = get_permalink( $postID );
         $textLink = ($lyteSettings['links']===0)? "" : "<br />".strip_tags($lytelinks_txt, '<a>');
         $lytetemplate = "<a href=\"".$postURL."\"><img src=\"".$lyteSettings['scheme']."://i.ytimg.com/vi/".$vid."/0.jpg\" width=\"".$lyteSettings[2]."px\" alt=\"YouTube video\"></a>".$textLink;
    } elseif (($audio!==true)&&($plClass!==" playlist")&&($lyteSettings['microdata']==="1")) {

    And report back if that works?

    Plugin Author Frank Goossens

    (@futtta)

    So DrReen, how is that fix working out for you? 🙂

    Thread Starter drreen

    (@drreen)

    Hi

    works like a charm 🙂
    Thank you very much now it’s displayed 100% correct.

    Plugin Author Frank Goossens

    (@futtta)

    OK, I’ll mark this as resolved and make sure this is included in the upcoming 1.2.2. Thanks for your help in fixing this!

    Plugin Author Frank Goossens

    (@futtta)

    FYI: I just pushed out 1.2.2 which has amongst others this fix.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Text Links around embedded video in RSS Feed’ is closed to new replies.