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

--- Comment #19 from Aleisha Amohia <[email protected]> ---
Created attachment 200614
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200614&action=edit
Bug 19339: Enhance streaming cataloging to include Vimeo

This patch renames the HTML5MediaYouTube system preference to HTML5MediaEmbed,
and offers choices rather than a boolean for just YouTube.

Test plan:

1. Apply patch, run database updates, restart services
2. Go to the Enhanced Content tab and go to the HTML5 media section. Ensure
HTML5MediaEnabled is enabled for the staff interface
3. Notice the HTML5MediaYouTube preference has been renamed to HTML5MediaEmbed
and has options, Vimeo and YouTube. As per defaults, both options should be
unchecked.
4. Log into the database and change the preference back to before, this time
with YouTube enabled.

koha-mysql kohadev
UPDATE systempreferences SET variable = 'HTML5MediaYouTube', value = 1 WHERE
variable = 'HTML5MediaEmbed';

5. Run database updates and restart services again
6. Repeat steps 2 and 3, this time YouTube should be checked already.
7. Check the vimeo option too and save the syspref.
8. Go to a record and edit it
9. Go to 856$u and add a vimeo url
10. Duplicate the 856 tag and add a youtube url in the second 856$u. Save the
record
11. On the biblio detail page - there should be a "Play media" tab above the
holdings table
12. Both videos should be embedded under the "Play media" tab and be playable
13. Try unchecking 'vimeo' or unchecking 'youtube' in the HTML5MediaEmbed
syspref and ensure the correct video is embedded on the biblio detail page.

Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to