Support » Plugin: WP Matterport Shortcode » Getting black screen

  • Hello,
    Getting black screen when using shortcode
    [matterport width=”1200″ height=”600″ src=”pSJNEUPJ32i” welcome=”VISITE VIRTUELLE” embed=”true” label=”hidden” lang=”fr”]
    or
    [matterport width=”1200″ height=”600″ src=”https://my.matterport.com/show/?m=pSJNEUPJ32i” welcome=”VISITE VIRTUELLE” embed=”true” label=”hidden” lang=”fr”]
    What am I doing wrong ?
    Thanks in advance for your help.
    Sincerely,

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter paulphil24

    (@paulphil24)

    Update : Did the upgrade on version 2.0.3 on WordPress 4.9.8 and had to remove all matterport shortcodes as a result ( message “private or invalid url” ). Can you help ?
    thanks in advance,
    Sincerely

    Plugin Author Chris Hickman

    (@antiochinteractive)

    I’m not exactly sure why this happened and I cannot see the tour on the page that was provided.

    Thread Starter paulphil24

    (@paulphil24)

    Hi Chris,
    Thank you for your answer. I’ve just recieved a new tour and gave it a try with shortcode [matterport src=”qnJGH3DAB2g” embed=”true”]. You can check it out at http://dev.elios-france.fr/elios-van-crossover-59-t.
    Additionnaly, do you think there is a way to avoid the “#” anchor added in location bar when clicking on play in masterport frame. This scrolls up the page to the top, forcing the user to scroll back down to see the tour.
    Maybe the two issues are related ?
    Best regards, P

    Plugin Author Chris Hickman

    (@antiochinteractive)

    Chrome’s debugger shows that a javascript error is occuring with the Twenty Sixteen theme.

    functions.js?ver=20160816:149 Uncaught TypeError: Cannot read property ‘top’ of undefined
    at HTMLImageElement.<anonymous> (functions.js?ver=20160816:149)
    at Function.each (jquery.js?ver=1.12.4:2)
    at a.fn.init.each (jquery.js?ver=1.12.4:2)
    at belowEntryMetaClass (functions.js?ver=20160816:143)
    at HTMLDocument.<anonymous> (functions.js?ver=20160816:197)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    There is no 3D tour in this page, and this page has the same error:
    http://dev.elios-france.fr/produit/elios-van-crossover-59-family/

    I’m wondering if the javascript error is causing the Matterport Shortcode to fail.

    Thread Starter paulphil24

    (@paulphil24)

    Hi Chris,
    Thanks for letting me know, I’ll check that. I found a way to solve the issue :
    When user clicks on “play” in the matterport iframe, the div.wpm-embed element style is set to “max-width:0; max-height:0;”. Adding “div.wpm-embed {max-width:100% !important; max-height:300px !important}” solve the issue as the 3D tour is now visible. However, the dimensions of it are not as expected (I want it to be less than 400px in height).
    This had also solved the second click issue I mentionned earlier.
    Thanks for taking the time to look at it.
    Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Getting black screen’ is closed to new replies.