Support » Plugin: WP YouTube Lyte » How to use with Embeded Code?

  • Resolved Grecocoach


    My problem is that I am using WPZoom’s VideoZoom theme for my site ( 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=”//” 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?


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


    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.


    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

    Plugin Author Frank Goossens


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

    Hope this helps,


    Hi Frank,

    actually I havenĀ“t work to much with workpress. I just wanted to add the code
    httpv:// 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

    Plugin Author Frank Goossens


    In that case;


    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.

    Plugin Author Frank Goossens


    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,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to use with Embeded Code?’ is closed to new replies.