Bug 8377 [ENH] Show HTML5 video/ audio for media files in OPAC and staff client
authorMirko Tietgen <mirko@abunchofthings.net>
Thu, 22 Nov 2012 12:22:22 +0000 (13:22 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Thu, 27 Dec 2012 14:28:00 +0000 (09:28 -0500)
commit33aa6ec2fddd5c712f6eb1ba64de4d54f131c24e
tree04d9ee3e8aad43fe3930bf826d5e7a7c0dede725
parent37bd0c8d7e1196648fc3fc24287cf3d8f1afb7d7
Bug 8377 [ENH] Show HTML5 video/ audio for media files in OPAC and staff client

This enhancement uses information from MARC field 856 to generate the appropriate HTML5 code to embed am media player for the file(s) in a tab in the OPAC and staff client detail view. This patch supports the HTML5 <audio> and <video> element. Additionally it gives basic support for the <track> element. This element is not supported very well by recent browsers. Please consider the patch working when you get working video or audio.

Rebased to Master 22.11.2012

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/HTML5Media.pm [new file with mode: 0644]
catalogue/detail.pl
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
koha-tmpl/opac-tmpl/prog/en/modules/opac-detail.tt
opac/opac-detail.pl