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

    (@futtta)

    hi draven666; how would you like the two plugins to work in conjunction? would you expect wp youtube lyte to (automatically) take care of just new youtube embeds, or also old the ones?

    Thread Starter draven666

    (@draven666)

    Hi futta,

    Thanks for your quick reply.

    In the past, i embedded a lot of Youtube videos. And it would be really great if this would also work. New videos are added as one of them 🙂

    Another question, is it also possible that your plugin work with Dailymotion, Vimeo or other suppliers? Suppliers for example like in video embedder?

    Thank you for your efforts.

    Best Regards
    Draven

    Plugin Author Frank Goossens

    (@futtta)

    other suppliers are out of scope for wp youtube lyte i’m afraid, but adding support for the video embedder syntax shouldn’t be too hard (although i’m not sure it should go in the default code). how do you embed a youtube-vid in video embedder? any special tag used for that purpose?

    Thread Starter draven666

    (@draven666)

    Thanks for the quick reply. I understand.

    I am using Youtube with Video Embedder over the shortcode:
    [youtube]youtube-vid[/youtube]

    Plugin Author Frank Goossens

    (@futtta)

    adding this:

    function yt_func($atts, $content="") {
         return lyte_parse("httpv://www.youtube.com/watch?v=".$content);
         }
    add_shortcode('youtube', 'yt_func');

    at the end of /wp-content/plugins/wp-youtube-lyte/wp-youtube-lyte.php should do the trick (you will have to re-add this with every upgrade I push out, I’m afraid).

    Thread Starter draven666

    (@draven666)

    I added this code at the end of wp-youtube-lyte.php, before ?>, but it have no effect on my (old) embedded videos… Am I doing something wrong?

    Plugin Author Frank Goossens

    (@futtta)

    does that mean that the old video’s are still rendered by video embedder?

    can you check;
    * if wp-youtube-lyte is activated?
    * if you have a caching mechanism which shows results pre the small change in wp-youtube-lyte?
    * what happens if you (temporarily) disable video embedder?

    and lastly; can you copy paste, verbatim, an example of the code you use in one of your older articles to embed a youtube video?

    Thread Starter draven666

    (@draven666)

    Yes, the old videos are still rendered by video embedder, if wp-youtube-lyte and video embedder are activated. If i deactivate video embedder, wp-youtube-lyte works fine! It looks like the active video embedder takes over the rendering of the video…

    P.S: Excuse my bad english…

    Plugin Author Frank Goossens

    (@futtta)

    ok, can you open up /wp-content/plugins/video-embedder/video-embedder.php and look for the line

    add_filter('the_content', 'videoembedder_embed');
    and change that into
    add_filter('the_content', 'videoembedder_embed',100);

    that lowers the priority of video embedder and should allow wp youtube lyte to take over for [youtube]qmlkjdfqlk[/youtube]

    (and your english is not a problem at all)

    Thread Starter draven666

    (@draven666)

    I’ve made ​​the change accordingly and everything works as intended. Great, thank you very much!

    Do you have a Paypal account? I do not have much money, but I want to spend a little something for your great support.

    Plugin Author Frank Goossens

    (@futtta)

    I don’t ask (or want) money, just glad to be able to help.

    But if you insist, you can always review/ rate the plugin here 😉

    Thread Starter draven666

    (@draven666)

    I did not offend you with my donation, but only to show my gratitude.

    Of course, I have now written a little review and rated your great plugin. Thanks again for your help!

    Plugin Author Frank Goossens

    (@futtta)

    Not offended in the least, on the contrary.

    Thanks for the review!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Video Embedder’ is closed to new replies.