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

  • Resolved Grecocoach

    (@grecocoach)


    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/

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

    (@futtta)

    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.

    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

    Plugin Author Frank Goossens

    (@futtta)

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

    Hope this helps,

    frank

    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

    Plugin Author Frank Goossens

    (@futtta)

    In that case;

    frank

    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,

    Plugin Author Frank Goossens

    (@futtta)

    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

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