Codecanyon Live Preview must be the same Origin in iFrame ?

On my Live Preview Page is a Link that redirects to my WP demo page what is on the same domain. But in the Developer Console shows up a message like this :

Refused to display 'http://crodev.net/wpdemo/wp-admin/admin.php?page=cteditor' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

Dont understand why, because its on the same domain like the Preview Page.

hello, I have the same issue. Tried adding “Header always unset X-Frame-Options” to htaccess but it doesn’t work.

Hello
I tried about everything but still nothing works.
Does someone have a solution for this?

You might have to redirect out of the themeforest preview iframe into your own full frame preview on your own domain.

Check out some of the other popular themes do it. There’s also a few examples on the (old?) forum but I cannot find them at the moment.