[Bug 14168] New: enhance streaming cataloging to include youtube
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Bug ID: 14168 Summary: enhance streaming cataloging to include youtube Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: gmcharlt@gmail.com Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Would be nice if you could catalog youtube videos and have them steam in Koha like you can other HTML5 videos. We might be able to use something like https://metacpan.org/pod/WWW::YouTube::Download for this -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #1 from Nicole C. Engard <nengard@gmail.com> --- an idea from drojf: soething like this http://www.htmlgoodies.com/imagesvr_ce/9722/youtube3.jpg and if you catalogue the url part, the rest around it could be generated. still a new feature though -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mirko@abunchofthings.net Assignee|gmcharlt@gmail.com |mirko@abunchofthings.net -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #2 from Mirko Tietgen <mirko@abunchofthings.net> --- I have a prototype that uses https://metacpan.org/pod/WWW::YouTube::Download to resolve the webm video link on the fly from a regular youtube link catalogued in 856$u. I will upload it when I had some more time for testing. Two things: - WWW::YouTube::Download is packaged for Debian Jessie, but not Wheezy. It depends on libxml-treepp-perl which is available on both systems. Have not checked Ubuntu. Probably have to ask Robin what to do about that. I rolled a package for Wheezy to test, I will upload it or link to it so the patch can be tested. - I have no idea if this is compliant to Youtube TOS. It does the same thing as your browser would if you opened the Youtube link: check for the file in a desired format and then play it. Link is generated on the fly, nothing is downloaded and stored anwhere on the Koha server. The video file is sent directly to the person opening the record. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #3 from Nicole C. Engard <nengard@gmail.com> --- Any luck getting this turned in to a patch? -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Marjorie Barry-Vila <marjorie.barry-vila@ccsr.qc.ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marjorie.barry-vila@ccsr.qc | |.ca -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #4 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 45331 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45331&action=edit Bug 14168 - enhance streaming cataloging to include youtube Initial commit. POCish. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #5 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 45333 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45333&action=edit Bug 14168 PerlDependencies -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #6 from Mirko Tietgen <mirko@abunchofthings.net> --- Needs libwww-youtube-download-perl to work, which is in Jessie. https://packages.debian.org/jessie/libwww-youtube-download-perl Hardcoded video format: WEBM. Todo: - scans only for /youtube/ in the URL, should also know relevant URL shorteners - syspref (youtube yes/no?) - probably more :) -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #7 from Mirko Tietgen <mirko@abunchofthings.net> --- todo - add dependency to debian/contol -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #45331|0 |1 is obsolete| | Attachment #45333|0 |1 is obsolete| | --- Comment #8 from Mirko Tietgen <mirko@abunchofthings.net> --- Created attachment 45339 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45339&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Mirko Tietgen <mirko@abunchofthings.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 --- Comment #9 from Mirko Tietgen <mirko@abunchofthings.net> --- I forgot to say that the following still applies: Needs libwww-youtube-download-perl to work, which is in Jessie. https://packages.debian.org/jessie/libwww-youtube-download-perl Install it before testing :) The Jessie module will likely work in Wheezy too. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gmc@esilibrary.com, | |katrin.fischer@bsz-bw.de Keywords| |dependency -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 jdemuth@roseville.ca.us <jdemuth@roseville.ca.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jdemuth@roseville.ca.us -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14168 Aleisha Amohia <aleishaamohia@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleishaamohia@hotmail.com --- Comment #10 from Aleisha Amohia <aleishaamohia@hotmail.com> --- Applying: Bug 14168 - enhance streaming cataloging to include youtube /home/vagrant/kohaclone/.git/rebase-apply/patch:47: trailing whitespace. $HTML5Media_field->subfield('u'), { warning: 1 line adds whitespace errors. Using index info to reconstruct a base tree... <stdin>:47: trailing whitespace. $HTML5Media_field->subfield('u'), { warning: 1 line applied after fixing whitespace errors. Falling back to patching base and 3-way merge... Auto-merging installer/data/mysql/sysprefs.sql Auto-merging C4/Installer/PerlDependencies.pm CONFLICT (content): Merge conflict in C4/Installer/PerlDependencies.pm Auto-merging C4/HTML5Media.pm CONFLICT (content): Merge conflict in C4/HTML5Media.pm Failed to merge in the changes. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org