h5p / h5p-video

10 stars 73 forks source link

Vimeo video not showing on Apple devices #120

Open pir1981 opened 7 months ago

pir1981 commented 7 months ago

Hi,

not sure, if this is the right place, but posting on H5P.org yielded no answers of the dev team.

Problem summary: vimeo video with embedded protection to a domain on, does not load on iOs in H5P

General info: We use vimeo as our video service. To protect our videos we have the vimeo "domain protection" set to only our domain. This allows our videos to be played back only if they are on our domain.

Used software/integration: We use wordpress. Under the H5P plugin (in wordpress) we create interactive video and then set the link (i.e. https://vimeo.com/000000000 - this number is just an example ) unter "Youtube-Link or other video-URL". We then use the shortcode in a Gutenberg shortcode block.

Vimeo video tested without H5P (with embedding set to "everywhere" and also tested with set to "specific domain"): All works fine across all platforms (widows, android, iOS), if the protected videos are embedded only in wordpress directly.

Found behavior: The issue starts, when using H5P interactive video that is set to "specific domain" (using "everywhere" within H5P works perfectly fine across all plattforms). The H5P interactive video with embedded vimeo content, limited to "specific domain" works perfectly on windows (chrome, firefox) and also on android (chrome, firefox). But on tested apple devices (iPads, iPhones - Safari and Chrome) we found that when the domain protection is on the video is not loaded stating "video could not be loaded".

Expected behavior: Independent of windows/android/apple, videos with "embed restriction" should play even when within H5P also on iOs devices.

Tried solutions: When embedding protection is turned off, videos within H5P play just fine on iOs

Contacted providers: We wrote with vimeo, thinking that might be an issue with them, but their statement after checking with second level support is, that this issue is due to H5P and not vimeo, adding:

"It's also worth noting that Vimeo's privacy settings and custom embed settings do not apply to third-party player links. The third-party player you're using might support its own set of customizations, but you will need to check out their support documentation for more info. To learn more, visit our help center article here."

Any thoughts on this?

Thanks!