Bugzilla – Attachment 176484 Details for
Bug 19339
Enhance streaming cataloging to include Vimeo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19339: [WIP]
Bug-19339-WIP.patch (text/plain), 3.22 KB, created by
Wainui Witika-Park
on 2025-01-14 05:01:50 UTC
(
hide
)
Description:
Bug 19339: [WIP]
Filename:
MIME Type:
Creator:
Wainui Witika-Park
Created:
2025-01-14 05:01:50 UTC
Size:
3.22 KB
patch
obsolete
>From 1119fad4134731b637e3c294bda79c9cbfef319b Mon Sep 17 00:00:00 2001 >From: wainuiwitikapark <wainuiwitikapark@catalyst.net.nz> >Date: Tue, 14 Jan 2025 05:01:24 +0000 >Subject: [PATCH] Bug 19339: [WIP] > >--- > .../bug_19339-HTML5MediaVimeo_syspref.pl | 15 +++++++++++++++ > installer/data/mysql/mandatory/sysprefs.sql | 1 + > .../admin/preferences/enhanced_content.pref | 6 ++++++ > 3 files changed, 22 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_19339-HTML5MediaVimeo_syspref.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_19339-HTML5MediaVimeo_syspref.pl b/installer/data/mysql/atomicupdate/bug_19339-HTML5MediaVimeo_syspref.pl >new file mode 100755 >index 00000000000..f67694a7050 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19339-HTML5MediaVimeo_syspref.pl >@@ -0,0 +1,15 @@ >+use Modern::Perl; >+use Koha::Installer::Output qw(say_warning say_success say_info); >+ >+return { >+ bug_number => "19339", >+ description => "Enhance streaming cataloging to include Vimeo", >+ up => sub { >+ my ($args) = @_; >+ my ( $dbh, $out ) = @$args{qw(dbh out)}; >+ >+ $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('HTML5MediaVimeo',0,'Embed|Don\'t embed','Vimeo links as videos','YesNo')}); >+ >+ say_success( $out, "Added new system preference 'HTML5MediaVimeo'" ); >+ }, >+}; >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index ede2d4d2755..c412153a870 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -316,6 +316,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` > ('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'), > ('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'), > ('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'), >+('HTML5MediaVimeo',0,'Embed|Don\'t embed','Vimeo links as videos','YesNo'), > ('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'), > ('ILLCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'), > ('ILLDefaultStaffEmail', '', NULL, 'Fallback email address for staff ILL notices to be sent to in the absence of a branch address', 'Free'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >index 1f088136f49..41ffcf05000 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref >@@ -339,6 +339,12 @@ Enhanced content: > 1: "Embed" > 0: "Don't embed" > - YouTube links as videos. >+ - >+ - pref: HTML5MediaVimeo >+ choices: >+ 1: "Embed" >+ 0: "Don't embed" >+ - Vimeo links as videos. > OverDrive: > - > - pref: OPACOverDrive >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19339
:
67210
|
176484
|
176487
|
176488
|
177094
|
177330
|
177331