• Hi guys, when I click play video on a mobil ephone the lightbox loses its corners and the video doesn’t sit inside the lightbox pop up.

    Any ideas on how to rectify this please?

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

    (@mbrsolution)

    Hi, are you talking about an iPhone? What happens if you play the video using an Android phone?

    Kind regards

    There are mobile issues on both iPhone and Android. The video is off to the left, white space to the right, close button is cut off.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reporting this. I have submitted a message to the developers to investigate further this issue.

    Kind regards

    Hi,

    Yes this issue is still there. Any update?

    Btw great plugin!

    EDIT: Just checked this. I started using Dark Square theme which solves the problem. Although the video is still small sized (around 175px). Can it be set as a percentage width?
    Option is in Dashboard > Settings > Video Lightbox > prettyPhoto > Themes

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Unfortunately the prettyPhoto library is not fully responsive in this plugin. If you need a better responsive option please take a look at our Lightbox Ultimate plugin:

    https://www.tipsandtricks-hq.com/wordpress-lightbox-ultimate-plugin-display-media-in-a-fancy-lightbox-overlay-3163

    You can try the following solutions if you like.

    Solution 1:

    Add width=100% to the HTML code of the src image and it will make it responsive.

    Solution 2:

    You can try changing the value in the code from the following file /js/jquery.prettyPhoto.js located inside the free plugin. Change the value from 200 to 40 as illustrated in the example below.

    if((pp_containerWidth > windowWidth)){
    	imageWidth = (windowWidth - 40);
    	imageHeight = (height/width) * imageWidth;
    }else if((pp_containerHeight > windowHeight)){
    	imageHeight = (windowHeight - 40);
    	imageWidth = (width/height) * imageHeight;
    }else{
    	fitting = true;
    };

    Let me know how you go.

    Thank you

    • This reply was modified 5 years, 1 month ago by mbrsolution.

    Hi,

    Thank you for quick reply and probable solutions!
    I will try solution 1, since solution 2 requires editing the plugin – which is usually not a good practice since the changes will be lost on update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Great plugin – issue with mobile phones’ is closed to new replies.