WordPress.org

Ready to get started?Download WordPress

Forums

WP YouTube Lyte
[resolved] wp-youtube lyte adds text to my posts. (13 posts)

  1. ikonstatus
    Member
    Posted 2 years ago #

    So I installed this plugin and it works perfect. the only issue i'm finding with it is everytime I make a new post with just the video it adds "Watch this video on YouTube" as text and I have disabled "Add links below the embedded videos"
    take a look at what I mean.

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

  2. ikonstatus
    Member
    Posted 2 years ago #

  3. futtta
    Member
    Plugin Author

    Posted 2 years ago #

    hi ikonstatus; i don't see the text any more, were you able to solve this?

  4. ikonstatus
    Member
    Posted 2 years ago #

    nope...it's still there I just add some descriptions so it would look weird.

  5. futtta
    Member
    Plugin Author

    Posted 2 years ago #

    that's really weird; i don't see "Watch this video on YouTub" at all, see this sreenshot. there's nothing in the html-source either.(except in the noscript-tags, but that is not visible in browsere that have javascript enabled).

  6. ikonstatus
    Member
    Posted 2 years ago #

    for whatever reason it's not showing up now, I deactivated and uninstalled seo 1.

  7. wordpressvoxbox13
    Member
    Posted 2 years ago #

    Here is the link to my new site I'm starting from scratch with wordpress. I'm having the same issue ikonstatus had, "Watch this video on YouTube Embedded with WP YouTube Lyte" appears each time I insert a video. Can I have 8 videos in a post without the text showing up on the main page? Do I need to use different code?

    http://tonecardsounds.com/wordpress/

  8. futtta
    Member
    Plugin Author

    Posted 2 years ago #

    That's a different but interesting issue wordpressvoxbox13! :-)

    There is a combination of 3 reasons that result in this behavior:

    • on the homepage your theme is very likely using "the_excerpt" to fetch the teaser content
    • the_excerpt is treated by wp youtube lyte (so your httpv-links are processed and turned into an empty div with the noscript-text)
    • as there is no other text in the post, the only text in the post, the noscript-one is shown

    To solve this, you could make sure to add text before the lyte-embedded video. Given the length of the_excerpt (55 words by default), you'll quickly loose the noscript-text.

    On my side I just might tweak the code a bit to remove the noscript-tag if the content parsed is an excerpt, that improvement might land in the next version.

  9. wordpressvoxbox13
    Member
    Posted 1 year ago #

    Thanks for your feedback. I really wanted to leave the text blank and let the videos speak for themselves. Please let me know if you upgrade this - I want a clean look to the site, and would rather not add text to cover up text.

  10. futtta
    Member
    Plugin Author

    Posted 1 year ago #

    well, you can download this "work in progress" version of wp-youtube-lyte.php (rename to drop the .txt after downloading) and see if that does what it should for you :-)

  11. wordpressvoxbox13
    Member
    Posted 1 year ago #

    Thanks! I'll let you know how it works. :)

  12. wordpressvoxbox13
    Member
    Posted 1 year ago #

    Yes!!! It works. Thank you so much.

  13. futtta
    Member
    Plugin Author

    Posted 1 year ago #

    you're welcome. this should be part of 1.2.0 which i'm working on.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic