[Koha-bugs] [Bug 8377] Show HTML5 video/ audio in OPAC for media files in 856

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jul 7 17:14:48 CEST 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8377

--- Comment #3 from Mirko Tietgen <5p4m at gmx.de> ---
Created attachment 10685
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=10685&action=edit
Bug 8377 test data (MARC21)

Test data MARC21

Bug 8377 Test 01: Video, using subfields a, d, f
Bug 8377 Test 02: Video, using subfield u
Bug 8377 Test 03: Video, using subfields a, d, f, login, pass in l, k
Bug 8377 Test 04: Audio, using subfield u

Test plan

- Import attached test data. [I chose media typ 'bk' because it's probably
present on most systems. It's not appropriate for the data but that doesn't
matter.]
- Rebuild zebra -b -z
- Go to sysprefs->enhanced content->html5 media and set HTML5MediaEnabled to
'Show', save preferences.
- Search the OPAC for 'bug 8377'
- Get 4 results
- Open one result after the other. Observe working video (1-3) or audio (4)
player on opac-detail page

Note that the video files don't have sound, that is not an error. Also note
that the audio file is a trombone so turn down the volume before you try it :)

If you feel adventurous, go to sysprefs->enhanced content->html5 media and
delete the entry for 'ogv' from HTML5MediaExtensions. Try the four biblios
again and observe that only the audio example (4) shows a media player. You may
have to empty your cache and restart Plack if you use that.

Some files contain subtitles to be displayed in a <track> element. These are
not generally supported by browsers at the moment. You can see them in the
source code of the opac-detail pages. Chrome/ Chromium can play them, but only
if they are set as 'default'. There is no option to do that in this patch, so
it won't work. Firefox can't play them yet. Opera can't play them yet. Internet
Explorer 10 may be able to play them, but I don't have one. I included basic
track support anyway and plan to continue working on that later. There is more
on that matter in the Wiki. Please consider this patch working if you get
working video or audio.

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


More information about the Koha-bugs mailing list