embed code
Submitted by Stabbi on Tue, 10/04/2022 - 16:46
Forums:
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
Thu, 10/06/2022 - 10:56
Permalink
Hi!Your browser's development
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
Stabbi
Mon, 10/24/2022 - 16:53
Permalink
Content Security Policy
...thank you, otake - that helped!
otacke
Mon, 10/24/2022 - 19:24
Permalink
You're welcome!
You're welcome!
Stabbi
Mon, 10/24/2022 - 16:55
Permalink
that helped! Thanx!
that helped! Thanx!
Stabbi
Mon, 10/24/2022 - 16:58
Permalink
iFrame
thank you, that helped!
Stabbi
Mon, 10/24/2022 - 16:56
Permalink
iFrame
Thank you, that helped!
Stabbi
Mon, 10/24/2022 - 17:01
Permalink
Combination Interactive Video and Virtual Tour (360°)
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°)?