]> git.koha-community.org Git - koha.git/commit
Bug 17231 - HTML5MediaYouTube should recognize youtu.be links from youtube as well...
authorNick Clemens <nick@bywatersolutions.com>
Wed, 31 Aug 2016 17:37:56 +0000 (17:37 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 8 Sep 2016 20:21:00 +0000 (22:21 +0200)
commitdfa95cea71d3a011a6b76133fe29f9a998aefea2
tree0a5bccaeabe7fd83503705c02af452c79367236c
parent71b81ae6d63089fc22a24157942426346d54c034
Bug 17231 - HTML5MediaYouTube should recognize youtu.be links from youtube as well at the full links

To test:
Enable HTML5MediaYouTube and ensure WWW::YouTube::Download is installed
Add an 856$u to a record like: https://www.youtube.com/watch?v=tu0qtEwb9gE
Verify you can see the embedded player
Use the youtube shortened like (from the share button) like:
https://youtu.be/tu0qtEwb9gE
Verify you can see the embedded player

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit b1dc5092d82fd0952ce4e9b586842f5ccb7a4377)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
C4/HTML5Media.pm