mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00

Bug fixes: * fixed broken flash resizing via URL * upgraded Flowplayer * fixed invalid context in format_text() * all media related CSS moved from themes to filter and resources * fixed automatic pdf resizing in resources Changes: * reworked filter_mediaplugin system settings - grouped by player type instead of individual extensions, added more information * improved regex url matching * removed old unused players, Eolas fix and UFO embedding * image embedding moved to filter_urltolink * new Flowplayer embedding API * accessibility and compatibility tweaks in Flowplayer * SWF embedding now works only in trusted texts, it is now enabled by default (works everywhere if "Allow EMBED and OBJECT tags" enabled) * new default video width and height New features: * automatic Flash video resizing using information from video metadata * Flash HD video support (*.f4v) * Flash video embedding with HTML5 fallback - compatible with iOS and other mobile devices * Vimeo embedding * no-cookie YouTube site supported * HTML 5 audio and video with multiple source URLs and QuickTime fallback * more video and audio extensions in filelib.php * MP3 player colours customisable via CSS in themes * nomediaplugin class in a tag prevents media embedding
29 lines
966 B
PHP
29 lines
966 B
PHP
<?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/>.
|
|
|
|
/**
|
|
* Media filter
|
|
*
|
|
* @package filter
|
|
* @subpackage mediaplugin
|
|
* @copyright 2010 Petr Skoda {@link http://skodak.org}
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
*/
|
|
|
|
defined('MOODLE_INTERNAL') || die();
|
|
|
|
$plugin->version = 2011030900;
|