WordPress.org

Forums

WP Video Lightbox
[resolved] video dimensions in html code (7 posts)

  1. judyhicks
    Member
    Posted 2 years ago #

    where do i add lightbox/video dimensions in html text? you can add it in shortcode.

    [video_lightbox_youtube video_id=## width=640 height=400 anchor=##]

    vs

    <a title="" href="http://www.youtube.com/watch?v=##" rel="wp-video-lightbox">
    See the recruitment video</a>

    http://wordpress.org/extend/plugins/wp-video-lightbox/

  2. wpvince
    Member
    Posted 2 years ago #

    [video_lightbox_youtube video_id=FFTkZX4y width=640 height=480 anchor=##]

  3. judyhicks
    Member
    Posted 2 years ago #

    no i know that. i need the code for when i am calling the video from html (see code snippet above). i tried putting it inside that link and it doesnt work (showing two versions i tried):

    <a href="http://www.youtube.com/watch?v=9_nBrNqH4Tk" rel="wp-video-lightbox" width="840" height="880"> <span style="text-decoration: underline;">Watch SEO Scholars on WABC-TV Eyewitness News!</span></a>

    or

    <a href="http://www.youtube.com/watch?v=9_nBrNqH4Tk" rel="wp-video-lightbox" width=840 height=880> <span style="text-decoration: underline;">Watch SEO Scholars on WABC-TV Eyewitness News!</span></a>

  4. lamamedia
    Member
    Posted 2 years ago #

    Hi Judy,

    Try this:

    <a href="http://www.youtube.com/watch?v=9_nBrNqH4Tk?width=840&height=880" rel="wp-video-lightbox"><span style="text-decoration: underline;">Watch SEO Scholars on WABC-TV Eyewitness News!</span></a>

  5. zingseven
    Member
    Posted 1 year ago #

    I'm entering the HTML as follows, but when clicked, it just takes me to the youtube video page.

    Any ideas on what to tweak ?

    <a href="http://www.youtube.com/watch?v=N57jycozhfM?width=640&height=360" rel="wp-video-lightbox">imperfect action</a>

  6. lamamedia
    Member
    Posted 1 year ago #

    Hi Zingseven,

    If you have WP Video Lightbox installed I believe you need to call it with a shortcode like this: [video_lightbox_youtube video_id=XX width=640 height=480 anchor=YY]

  7. mra13
    Member
    Plugin Author

    Posted 1 year ago #

    Please correct the shortcode and try it again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic