View | Details | Raw Unified | Return to bug 19339
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_19339-HTML5MediaVimeo_syspref.pl (+15 lines)
Line 0 Link Here
1
use Modern::Perl;
2
use Koha::Installer::Output qw(say_warning say_success say_info);
3
4
return {
5
    bug_number  => "19339",
6
    description => "Enhance streaming cataloging to include Vimeo",
7
    up          => sub {
8
        my ($args) = @_;
9
        my ( $dbh, $out ) = @$args{qw(dbh out)};
10
11
        $dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('HTML5MediaVimeo',0,'Embed|Don\'t embed','Vimeo links as videos','YesNo')});
12
13
        say_success( $out, "Added new system preference 'HTML5MediaVimeo'" );
14
    },
15
};
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 316-321 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
316
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
316
('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'),
317
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
317
('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'),
318
('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'),
318
('HTML5MediaYouTube',0,'Embed|Don\'t embed','YouTube links as videos','YesNo'),
319
('HTML5MediaVimeo',0,'Embed|Don\'t embed','Vimeo links as videos','YesNo'),
319
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
320
('IdRef','0','','Disable/enable the IdRef webservice from the OPAC detail page.','YesNo'),
320
('ILLCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'),
321
('ILLCheckAvailability', 0, '', 'If ON, during the ILL request process third party sources will be checked for current availability', 'YesNo'),
321
('ILLDefaultStaffEmail', '', NULL, 'Fallback email address for staff ILL notices to be sent to in the absence of a branch address', 'Free'),
322
('ILLDefaultStaffEmail', '', NULL, 'Fallback email address for staff ILL notices to be sent to in the absence of a branch address', 'Free'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/enhanced_content.pref (-1 / +6 lines)
Lines 339-344 Enhanced content: Link Here
339
                  1: "Embed"
339
                  1: "Embed"
340
                  0: "Don't embed"
340
                  0: "Don't embed"
341
            - YouTube links as videos.
341
            - YouTube links as videos.
342
        -
343
            - pref: HTML5MediaVimeo
344
              choices:
345
                  1: "Embed"
346
                  0: "Don't embed"
347
            - Vimeo links as videos.
342
    OverDrive:
348
    OverDrive:
343
        -
349
        -
344
            - pref: OPACOverDrive
350
            - pref: OPACOverDrive
345
- 

Return to bug 19339