See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
1 <?php 2 // This file is part of Moodle - http://moodle.org/ 3 // 4 // Moodle is free software: you can redistribute it and/or modify 5 // it under the terms of the GNU General Public License as published by 6 // the Free Software Foundation, either version 3 of the License, or 7 // (at your option) any later version. 8 // 9 // Moodle is distributed in the hope that it will be useful, 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 // GNU General Public License for more details. 13 // 14 // You should have received a copy of the GNU General Public License 15 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 16 17 /** 18 * Settings file for plugin 'media_videojs' 19 * 20 * @package media_videojs 21 * @copyright 2016 Marina Glancy 22 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 23 */ 24 25 defined('MOODLE_INTERNAL') || die(); 26 27 if ($ADMIN->fulltree) { 28 29 $settings->add(new admin_setting_filetypes('media_videojs/videoextensions', 30 new lang_string('videoextensions', 'media_videojs'), 31 new lang_string('configvideoextensions', 'media_videojs'), 32 'html_video,media_source,.f4v,.flv', 33 array('onlytypes' => array('video', 'web_video', 'html_video', 'media_source')))); 34 35 $settings->add(new admin_setting_filetypes('media_videojs/audioextensions', 36 new lang_string('audioextensions', 'media_videojs'), 37 new lang_string('configaudioextensions', 'media_videojs'), 38 'html_audio', 39 array('onlytypes' => array('audio', 'web_audio', 'html_audio')))); 40 41 $settings->add(new admin_setting_configcheckbox('media_videojs/rtmp', 42 new lang_string('rtmp', 'media_videojs'), 43 new lang_string('configrtmp', 'media_videojs'), 0)); 44 45 $settings->add(new admin_setting_configcheckbox('media_videojs/useflash', 46 new lang_string('useflash', 'media_videojs'), 47 new lang_string('configuseflash', 'media_videojs'), 0)); 48 49 $settings->add(new admin_setting_configcheckbox('media_videojs/youtube', 50 new lang_string('youtube', 'media_videojs'), 51 new lang_string('configyoutube', 'media_videojs'), 1)); 52 53 $settings->add(new admin_setting_configtext('media_videojs/videocssclass', 54 new lang_string('videocssclass', 'media_videojs'), 55 new lang_string('configvideocssclass', 'media_videojs'), 'video-js')); 56 57 $settings->add(new admin_setting_configtext('media_videojs/audiocssclass', 58 new lang_string('audiocssclass', 'media_videojs'), 59 new lang_string('configaudiocssclass', 'media_videojs'), 'video-js')); 60 61 $settings->add(new admin_setting_configcheckbox('media_videojs/limitsize', 62 new lang_string('limitsize', 'media_videojs'), 63 new lang_string('configlimitsize', 'media_videojs'), 1)); 64 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body