]> git.koha-community.org Git - koha.git/commit
Bug 14168 - enhance streaming cataloging to include youtube
authorMirko Tietgen <mirko@abunchofthings.net>
Thu, 22 Oct 2015 17:39:37 +0000 (19:39 +0200)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 00:40:00 +0000 (00:40 +0000)
commitf3e1e49797fb6f2bc362b6a3d8a5d8976ba5a91e
treea1f9df0348ef63d3a6fd595d784fcf9ecc0ba5c3
parentd9dc15f21edc0e4aca2708fa7abc6c188af71e47
Bug 14168 - enhance streaming cataloging to include youtube

Add optional embedding of YouTube videos via HTML5Media.
New syspref: HTML5MediaYouTube: Embed/Don't embed videos.
Format WEBM is hardcoded as it is the only format accepted by all
modern browsers.

Test plan:
- apply patch
- catalogue a YouTube link in 856$u
- turn on HTML5MediaEnabled and HTML5MediaYouTube
- open the record in OPAC and staff client, check that the
  'Play media' tab is showing and playing the video works.

Possible enhancements for followups:
- check available formats, offer quality choice
- accept official YT URL shortener

Signed-off-by: Aleisha <aleishaamohia@hotmail.com>
Works perfectly!

Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
C4/HTML5Media.pm
C4/Installer/PerlDependencies.pm
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref