初始提交:MoePlayer Moodle media 插件
- media_moeplayer_plugin 接管 mp4/m4v/mov/webm/ogv/m3u8/flv/ts,rank=100 - 播放器资源内打包(moeplayer/ 目录),每页一次加载,多视频多实例 - 管理设置:皮肤(默认/红色/西瓜)、默认宽高 - 中英语言包,兼容 Moodle 3.9+(3.x/4.x)
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* 语言包 - 英文
|
||||
*
|
||||
* @package media_moeplayer
|
||||
* @copyright MoePlayer 项目(fork 自 ckplayer, www.ckplayer.com)
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'MoePlayer';
|
||||
$string['pluginname_help'] = 'Embeds videos with MoePlayer, a web video player friendly to Chinese users. Supports mp4 / webm / m3u8 / flv / ts.';
|
||||
$string['skin'] = 'Skin';
|
||||
$string['skin_desc'] = 'Player skin (CSS theme).';
|
||||
$string['skin_default'] = 'Default (dark)';
|
||||
$string['skin_red'] = 'Red';
|
||||
$string['skin_ixigua'] = 'Xigua (light)';
|
||||
$string['width'] = 'Default width';
|
||||
$string['width_desc'] = 'Default player width. A pixel number (e.g. 640) or a CSS value (e.g. 100%).';
|
||||
$string['height'] = 'Default height';
|
||||
$string['height_desc'] = 'Default player height in pixels.';
|
||||
$string['privacy:metadata'] = 'The MoePlayer media plugin does not store any personal data.';
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
// (at your option) any later version.
|
||||
//
|
||||
// Moodle is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* 语言包 - 简体中文
|
||||
*
|
||||
* @package media_moeplayer
|
||||
* @copyright MoePlayer 项目(fork 自 ckplayer, www.ckplayer.com)
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'MoePlayer 播放器';
|
||||
$string['pluginname_help'] = '使用 MoePlayer 嵌入视频。MoePlayer 是一款中文友好的网页视频播放器,支持 mp4 / webm / m3u8 / flv / ts 格式,兼容 PC 与移动端 H5。';
|
||||
$string['skin'] = '皮肤';
|
||||
$string['skin_desc'] = '播放器皮肤(CSS 主题)。';
|
||||
$string['skin_default'] = '默认(深色)';
|
||||
$string['skin_red'] = '红色';
|
||||
$string['skin_ixigua'] = '西瓜(浅色)';
|
||||
$string['width'] = '默认宽度';
|
||||
$string['width_desc'] = '播放器默认宽度。可填像素值(如 640)或 CSS 值(如 100%)。';
|
||||
$string['height'] = '默认高度';
|
||||
$string['height_desc'] = '播放器默认高度,单位像素。';
|
||||
$string['privacy:metadata'] = 'MoePlayer media 插件不存储任何个人数据。';
|
||||
Reference in New Issue
Block a user