iframe Embedder
Submitted by hsl-luzern on Thu, 11/15/2018 - 14:47
Forums:
hello,
my iframe Embedder does no longer embed nor Youtubevideos nor Vimeos. What's wrong?
Thank you
Stefan
hello,
my iframe Embedder does no longer embed nor Youtubevideos nor Vimeos. What's wrong?
Thank you
Stefan
Navigation
Connect with H5P
About
H5P is a registered trademark of H5P Group
Privacy policy |
Copyright ©
2024
BV52
Fri, 11/16/2018 - 07:49
Permalink
Hi Stefan,There are websites
Hi Stefan,
There are websites that do not let their pages, images, videos etc. to be embedded in an Iframe. Youtube and Vimeo are one of this websites. If you check the browser console you will see an error (screenshot attached), the error message pertains a setting in their site that does not allow their videos used inside Iframes.
-BV52
hsl-luzern
Fri, 11/16/2018 - 08:12
Permalink
Thanks a lot, that's a pitty
Thanks a lot, that's a pitty since youtube and vimeo are really powerful players...anyway, have a good time!
otacke
Fri, 11/16/2018 - 09:17
Permalink
Hi hsu-luzern!Have you
Hi hsu-luzern!
Have you checked that it's not a Cross-Origin Resource Sharing (CORS) issue? There should be a hint to that in the dev console (pressing F12 will reveal it in most browsers). If so, you'll have to configure your webserver to allow embedding content from other servers.
Best,
Oliver
hsl-luzern
Fri, 11/16/2018 - 09:30
Permalink
Oh, interesting. And how can
Oh, interesting. And how can I configure the webserver? Thanks a lot
otacke
Fri, 11/16/2018 - 09:36
Permalink
Hi hsl-luzern!What does the
Hi hsl-luzern!
What does the "Konsole" tab show? Is it a CORS issue?
I am sorry, but we can't provide you with a full tutorial on how to configure Apache, nginx or whatever you're using. Please ask your system administrator. He or she might have to set the access-control-allow-origin header correctly.
Cheers,
Oliver