WordPress.org

Ready to get started?Download WordPress

Forums

WP YouTube Lyte
[resolved] How to use with Embeded Code? (8 posts)

  1. Grecocoach
    Member
    Posted 11 months ago #

    My problem is that I am using WPZoom's VideoZoom theme for my site (apexwrestling.tv) and rather than hosting the video on our server we want to embed videos from youtube. The theme requires you to use the embedded code rather than the URL.

    For example: "<iframe width="640" height="360" src="//www.youtube.com/embed/ko3UdVlY2Bw" frameborder="0" allowfullscreen></iframe>"

    How do I use your plugin with the embedded code so that my site doesn't take 30 seconds to load anymore?

    Thanks!

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

  2. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    that won't work I'm afraid; lyte implies no embed code until clicked (played). if the theme has an API of some sort, you could maybe tell it about lyte. alternatively you could use the lyte API to add embed-code in between noscript-tags. that way the theme will probably pick up on the thumbnail, but normal visitors won't see the slow embeds.

  3. JuleSrgchen
    Member
    Posted 11 months ago #

    Hi,

    I am using for my blog the html code: httpv
    to embed a youtube video. Unfortunately the video is too big. Do you know how I can make it smaller?

    Thanks Jule

  4. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    Hi JuleSrgchen;
    In the wp youtube lyte admin screen, you can specify the (maximum) size.

    Hope this helps,

    frank

  5. JuleSrgchen
    Member
    Posted 11 months ago #

    Hi Frank,

    actually I havenĀ“t work to much with workpress. I just wanted to add the code
    httpv://www.youtube.com/watch?v=iT7PGRlsE-4 and the video.
    So were do I find this lyte admin screen?
    Or is their maybe just a possibility to add a width and height?

    Thanks, Jule

  6. Frank Goossens
    Member
    Plugin Author

    Posted 11 months ago #

    In that case;

    frank

  7. southafricanrob
    Member
    Posted 10 months ago #

    Hi - can you maybe shed some more light on using with custom fields? - I'm not quite sure from the the answer in the FAQ.
    Thanks,

  8. Frank Goossens
    Member
    Plugin Author

    Posted 10 months ago #

    Well, typically you would handle the input of a custom field containing a YouTube video id. In the code that parses that input, you would have something like

    if(function_exists('lyte_preparse')) { echo lyte_preparse($video); }

    where $video is the param that holds the value of the custom field (i.e. the YouTube video id).

    hope this helps,
    frank

Reply

You must log in to post.

About this Plugin

About this Topic