[Koha] Koha, HTML5 and youtube videos

Mirko 5p4m at gmx.de
Mon Oct 21 00:19:50 NZDT 2013


schnydszch schrieb am 18.10.2013
 
> Hi all! This new feature in Koha 3.12 being able to embed media files, is it
> possible with youtube videos, I'm trying it out but I can not make it work.
> The sample data from here:
> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11056 worked
> since the format is video/ogg. My question is 1) what is the format for
> youtube videos? and 2) are you tube videos supported? Thanks in advance!

Youtube uses Flash and WebM videos, the latter being HTML5 friendly.
If you want to embed them using the HTML5 media feature, you would
need to know the location of the actual .webm file somewhere on the
youtube (or third party) servers. I assume the URL is obfuscated and
maybe created dynamically, but I don't know.

I guess it would be easier to use the "embed video" code youtube is
offering. It won't work with the HTML5 media feature thought, you
would have to get the code into the Koha detail view yourself.

-- Mirko


More information about the Koha mailing list