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

    (@mbrsolution)

    Hi, currently the plugin is not fully responsive. This is something that the developers will fix in the future.

    For now you might like to try the following solutions.

    Solution 1 = Change the code in js/jquery.prettyPhoto.js inside the free plugin. Changed the following value from 200 to 40 as per 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;
    };

    Solution 2 = @terrymacsurfer in the support forum suggested the following.

    There’s no need to edit the js, just add width=100% to the HTML code of the src image and it is completely responsive.

    Let me know if the above helps you.

    Thank you

    • This reply was modified 7 years, 1 month ago by mbrsolution.
    Thread Starter Steve

    (@puddesign)

    Ok great thanks do you mean the source video?

    Thread Starter Steve

    (@puddesign)

    if you look at the screen grab it looks off there’s a large grey area that is full screen but the video is not

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, I did see the screen capture. If the solutions provided above don’t work for you then there is not much I can do. As I mentioned above this plugin is not fully responsive at the moment. The above solutions have worked for some.

    You might also like to test one of WordPress default themes like Twenty Sixteen or Seventeen? Let me know how you go.

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Video Half size on mobile’ is closed to new replies.