[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 12:58:19 CEST 2020


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

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

--- Comment #12 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 104747
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104747&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.

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


More information about the Koha-bugs mailing list