WordPress.org

Ready to get started?Download WordPress

Forums

WP Video Lightbox
[resolved] Opening new windows? (5 posts)

  1. atjuch@gmail.com
    Member
    Posted 5 months ago #

    URL: http://shortsinsurance.com/client-testimonies/

    I was able to setup my videos, but each time I click the thumbnail it opens a new tab PLUS the overlay on the current window/tab?

    How can I fix this?

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

  2. nickritchey
    Member
    Posted 4 months ago #

    I have the same issue...

  3. wptipsntricks
    Member
    Plugin Author

    Posted 4 months ago #

    @atjuch, do you have a plugin installed on your site which automatically adds JavaScript "onclick" event to a link? I see the following onclick function in the link and it doesn't come from video lightbox:

    onclick="javascript:window.open('http://vimeo.com/78994002?width=800&height=450');

    Here is the full HTML:

    <a rel="wp-video-lightbox" href="http://vimeo.com/78994002?width=800&height=450" title="" onclick="javascript:window.open('http://vimeo.com/78994002?width=800&height=450'); return false;">
    <div class="wpvl_auto_thumb_box"><img src="http://b.vimeocdn.com/ts/454/911/454911893_200.jpg" class="video_lightbox_auto_anchor_image" alt="">
    <div class="wpvl_auto_thumb_play"><img src="http://shortsinsurance.com/wp-content/plugins/wp-video-lightbox/images/play.png" class="wpvl_playbutton"></div>
    </div>
    </a>
  4. atjuch@gmail.com
    Member
    Posted 4 months ago #

    You know what it was, it was a plugin that someone else had installed before I took over managing the website for my client.

    The plugin was called something like "Open all links in new window XM".

    Anyways, removing that did the trick.

    Thanks!

  5. nickritchey
    Member
    Posted 4 months ago #

    Thanks for sharing!

    Disabling that plugin fixed my problem too :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.