• vimeo and html-link not functioning or displaying correctly…

    • adding inline code the lightbox doesn’t contain the video correctly (video extends out of the light box by 20-30px) and the video doesn’t play when you click on the controls. Video plays just fine when just the video short code is added to the same page.
      <a href="#video-1" rel="wp-video-lightbox" class="no-click-video">16-minute Defeating Distracted Driving video</a>
      <div id="video-1" style="display:none;">
      [video width="640" height="480" mp4="https://mysite.com/wp-content/uploads/D3_TV_PSA_1_HQ.mp4"][/video]
      </div>
    • adding a vimeo shortcode works correctly, also open up the video in a separate window:
      [video_lightbox_vimeo5 video_id="165452807" width="640" height="480" anchor="Related Documents" class="no-click-video"]

      generates >>>

      <a rel="wp-video-lightbox" href="https://vimeo.com/165452807?width=640&height=480" title="" onclick="javascript:window.open('https://vimeo.com/165452807?width=640&height=480'); return false;">Related Documents</a>

    I’m adding the class="no-click-video" trying to prevent the default link action. Am I missing something that is documented somewhere?

    https://www.ads-software.com/plugins/wp-video-lightbox/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, please look at the following example below and try to implement this code in your post or page. Report back with the outcome.

    <a href="https://vimeo.com/13422697?width=640&height=480
    " rel="wp-video-lightbox" title=""><img src="
    https://example.com/images/thumbnails/flash-logo.jpg"
    alt="Vimeo Video" width="60" /></a>

    Thank you

    Thread Starter stevegmag

    (@stevegmag)

    It opens the video in a lightbox on the same page as the link and in a new tab/page with a single click.

    Thread Starter stevegmag

    (@stevegmag)

    If I add ?width=640&height=480 to a link with a page-target (#video-1) it starts the lightbox, but just spins and never loads the html code with video.

    <a href="#video-1?width=640&height=480" rel="wp-video-lightbox" class="no-click-video">16-minute Defeating Distracted Driving video</a>
    <div id="video-1" style="display:none;">
    [video width="690" height="400" mp4="https://dev-cvsa2.accelerantsandbox.com/wp-content/uploads/D3_TV_PSA_1_HQ.mp4"][/video]
    </div>
    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, where is the following shortcode coming from?

    [video width="690" height="400" mp4="https://dev-cvsa2.accelerantsandbox.com/wp-content/uploads/D3_TV_PSA_1_HQ.mp4"][/video]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘vimeo and html-link not functioning or displaying correctly’ is closed to new replies.