WordPress.org

Forums

WP Video Lightbox
[resolved] Lightbox not working in sidebar (5 posts)

  1. muaythaiguy
    Member
    Posted 1 year ago #

    Hey guys,

    I'm trying to set up an image that when clicked, triggers a video lightbox pop up.

    If I add the code into the body of a post, it works as it should.

    When I add the same code into a sidebar widget though.. only the actual code is shown (no image, no lightbox).

    Any idea what the problem could be?

    Thanks in advance.

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

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hi muaythaiguy what kind of code are adding to your sidebar widget?

    If you are adding javascript, php or similar codes you might need to installed a widget that accepts that type of code.

    Kind regards

  3. muaythaiguy
    Member
    Posted 1 year ago #

    Thanks for the response.

    I'm just using the code provided..

    Example: [video_lightbox_youtube video_id="G7z74BvLWUg" width="640" height="480" anchor="I insert the image link here"]

    I'm using the Text/HTML widget for this.

    Which widget would you recommend?

    Thanks again.

  4. muaythaiguy
    Member
    Posted 1 year ago #

    Update: I added an enhanced widget plugin and it works now. Thanks so much!

  5. mbrsolution
    Member
    Posted 1 year ago #

    Hi that is good news :)

    If your issue has been resolved can you mark this support thread as resolved.

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic