Viewing 4 replies - 1 through 4 (of 4 total)
  • nickritchey

    (@nickritchey)

    I have the same issue…

    Plugin Author wptipsntricks

    (@wptipsntricks)

    @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('https://vimeo.com/78994002?width=800&height=450');

    Here is the full HTML:

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

    (@atjuchgmailcom)

    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!

    nickritchey

    (@nickritchey)

    Thanks for sharing!

    Disabling that plugin fixed my problem too ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Opening new windows?’ is closed to new replies.