[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
Tue May 12 15:27:27 CEST 2020


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #104747|0                           |1
        is obsolete|                            |

--- Comment #21 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 104779
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104779&action=edit
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>

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


More information about the Koha-bugs mailing list