[Koha-bugs] [Bug 20783] Cannot embed some YouTube videos due to 403 errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 2 21:47:50 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20783

--- Comment #36 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 111177
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=111177&action=edit
[19.11.x] Bug 20783: Use iframe to embed Youtube videos

WWW::YouTube::Download is broken and not reliable.
Other alternative was to use HTML::Video::Embed but not updated since
years.

The best alternative seems to follow youtube advise and use an iframe
https://developers.google.com/youtube/iframe_api_reference

Test plan:
Put youtube video in 856$u (using different url formats, youtu.be,
youtube.com/embed, etc.)
Enable HTML5MediaEnabled and HTML5MediaYouTube and confirm that the
youtube videos are correctly embeded.

Signed-off-by: Kelly McElligott <kelly at bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list