Iframe - close full screen by message | XM Community
Skip to main content

Hi all,
I embedded an iframe (Pavlovia) experiment in qualtrics.
It perfectly plays automatically on full screen.
Though, I want to close full screen when the experiment ends.

I included the following line of code in the Pavlovia experiment (JS code)
parent.postMessage("end study","*");

In qualtrics I included the following code:
image.pngHowever, it is not working and I can not figure out what is wrong.
Hopefully someone can help me!
Thankyou!

Be the first to reply!

Leave a Reply