[Koha-bugs] [Bug 17231] HTML5MediaYouTube should recognize youtu.be links from youtube as well at the full links

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 1 14:27:39 CEST 2016


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

--- Comment #6 from Claire Gravely <claire_gravely at hotmail.com> ---
(In reply to Nick Clemens from comment #5)
> Fixed! That was bad grepping on my part, worked cause it matched everything
> :-)
> 
> I added an eval to catch those errors as well, say if you link to something
> like:
> http://www.nytimes.com/topic/company/youtube
> 
> Which will match, but is not a youtube video
> 
> 
> (In reply to Claire Gravely from comment #3)
> > (In reply to Claire Gravely from comment #2)
> > > After applying the patch:  I get the following error when doing a catalogue
> > > search on the intranet for a record which already has a link in 856 $u 
> > Also applies to OPAC if HTML5MediaEnabled is set to OPAC and staff client.

It now searches ok :), but if the record has two 856 $u (one for a link and one
for a video for example) it does not embed the youtube video. 

I should note, that adding the two kinds of youtube style link does work fine
on items without additional 856$u fields.

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


More information about the Koha-bugs mailing list