Summary: | Enhance streaming cataloging to include Vimeo | ||
---|---|---|---|
Product: | Koha | Reporter: | leire |
Component: | OPAC | Assignee: | Wainui Witika-Park <wainuiwitikapark> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | aleisha, david, dcook, dominic.pichette, laurence.rault, library, marjorie.barry-vila |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | Sponsored | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This enhancement enables embedding Vimeo videos under the "Play media" tab for a record:
1. Enable the HTML5MediaEnabled system preference (set to "in OPAC and staff interface").
2. Enable the new HTML5MediaVimeo system preference (set to "Embed").
3. Add the URL to 856$u for the record.
4. The record in the OPAC and staff interface has a "Play media" tab with the video embedded.
|
|
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 19339 - Enhance streaming cataloging to include Vimeo
Bug 19339: [WIP] Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Bug 19339: Enhance streaming cataloging to include Vimeo Bug 19339: Enhance streaming cataloging to include Vimeo Bug 19339: Enhance streaming cataloging to include Vimeo |
Description
leire
2017-09-19 08:18:40 UTC
Created attachment 67210 [details] [review] Bug 19339 - Enhance streaming cataloging to include Vimeo Create a new preference HTML5MediaVimeo, it works like HTML5MediaYoutube. The patch uses the player javascript to show de Vimeo video. The Vimeo video is shown only in the Opac. Steps to test: 1) Apply patch 2) Catalogue a Vimeo link in 856$u 3) Turn on HTML5MediaEnabled and HTML5MediaVimeo 4) Open the record in OPAC, check that the 'Play media' tab is showing and playing the video works Sponsored-by: Tabakalera (Ubik) Sponsored-by: Scanbit (http://www.scanbit.net/) I'm having difficulty installing your patch. here is the error I get when trying to install with git bz: fatal: sha1 information is lacking or useless (installer/data/mysql/sysprefs.sql). This enhancement implies that it is not possible to stream videos unless they are from YouTube or Vimeo? This would explain why I have been unable to stream videos from other sources under the Play Media tab; is there a workaround solution to enable videos to be uploaded or streamed within a catalogue record? (In reply to Charlotte Stock from comment #3) > This enhancement implies that it is not possible to stream videos unless > they are from YouTube or Vimeo? This would explain why I have been unable to > stream videos from other sources under the Play Media tab; is there a > workaround solution to enable videos to be uploaded or streamed within a > catalogue record? No, you can still stream videos from a file server or S3 for instance. This is about embedding an external video player I think. Created attachment 176484 [details] [review] Bug 19339: [WIP] Created attachment 176487 [details] [review] Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Created attachment 176488 [details] [review] Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Created attachment 177094 [details] [review] Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Created attachment 177330 [details] [review] Bug 19339: [WIP] Enhance streaming cataloging to include Vimeo Created attachment 177331 [details] [review] Bug 19339: Enhance streaming cataloging to include Vimeo Test plan: 1. Apply patch 2. Run updatedatabase in ktd 3. Set system preferenceHTML5MediaEnabled 4. Enable system preferenceHTML5MediaVimeo 5. Go to a record and edit it 6. Go to 856u - add a vimeo url - save your changes 7. On the biblio detail page - there should be a "Play media" tab above the holdings table 8. The vimeo video should be embedded under the "Play media" tab and be playable Sponsored-by: Māoriland Film Festival Tested on ktd Merge conflict in C4/HTML5Media.pm Created attachment 180609 [details] [review] Bug 19339: Enhance streaming cataloging to include Vimeo Test plan: 1. Apply patch 2. Run updatedatabase in ktd 3. Set system preferenceHTML5MediaEnabled 4. Enable system preferenceHTML5MediaVimeo 5. Go to a record and edit it 6. Go to 856u - add a vimeo url - save your changes 7. On the biblio detail page - there should be a "Play media" tab above the holdings table 8. The vimeo video should be embedded under the "Play media" tab and be playable Sponsored-by: Māoriland Film Festival (In reply to Laurence Rault from comment #11) > Tested on ktd > Merge conflict in C4/HTML5Media.pm Thanks Laurence! I just solved the conflicts and added the patch again. Hopefully it works better for you now!! Created attachment 181574 [details] [review] Bug 19339: Enhance streaming cataloging to include Vimeo Test plan: 1. Apply patch 2. Run updatedatabase in ktd 3. Set system preferenceHTML5MediaEnabled 4. Enable system preferenceHTML5MediaVimeo 5. Go to a record and edit it 6. Go to 856u - add a vimeo url - save your changes 7. On the biblio detail page - there should be a "Play media" tab above the holdings table 8. The vimeo video should be embedded under the "Play media" tab and be playable Sponsored-by: Māoriland Film Festival Signed-off-by: David Nind <david@davidnind.com> I've signed off, as the video was embedded. I could play some videos, but I couldn't play others. For the ones I couldn't play, the embedded video has a message saying "Sorry Because of its privacy settings, this video cannot be played here.", clicking on the video takes you to the video on Vimeo's site. I'm not sure if this is because of settings at Vimeo, or individual browser settings. A video that worked: https://vimeo.com/77860167 A video that didn't work: https://vimeo.com/1023015294 |