embed code

Hey, I am using the H5P plugin in wordpress ( version 6.0.2) with AVADA template (version 7.8.2) and it works great. Problem is that the embed code is not working if i try to embed it:

<iframe src="https://data.stanzl.net/wp-admin/admin-ajax.php?action=h5p_embed&id=1" width="1199" height="736" frameborder="0" allowfullscreen="allowfullscreen" title="Hypertest"></iframe><script src="https://data.stanzl.net/wp-content/plugins/h5p/h5p-php-library/js/h5p-re..." charset="UTF-8"></script>

What am I doing wrong?

otacke's picture

Hi!

Your browser's development console (usually by pressing F12) holds the answer.

Your server is configured to not allow embedding its contents into other sites - it is setting the so called X-Frame-Options to "sameorigin". You would need to resolve this by setting up a Content Security Policy.

Best,
Oliver

...thank you, otake - that  helped!

 

 

otacke's picture

You're welcome!

that helped! Thanx!

 

thank you, that helped!

Thank you, that helped!

Is it possible to combine Interactive Video and Virtual Tour (360°)? Or lets say can i integrate an interactive Video in an Virtual Tour (360°)?