MDL-26697 multiple media filtering fixes and improvements
authorPetr Skoda <commits@skodak.org>
Sat, 12 Mar 2011 16:42:52 +0000 (17:42 +0100)
committerPetr Skoda <commits@skodak.org>
Sat, 12 Mar 2011 16:42:52 +0000 (17:42 +0100)
commitfcd2cbaf1f99750ce1a44780ae1dad24f21078b7
treec3244affc1785c5782896db44891cd8d10a12a86
parentc09604234acc7d006fc3a0411ff9f5714bd82508
MDL-26697 multiple media filtering fixes and improvements

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
58 files changed:
filter/mediaplugin/db/upgrade.php [new file with mode: 0644]
filter/mediaplugin/eolas_fix.js [deleted file]
filter/mediaplugin/filter.php
filter/mediaplugin/filtersettings.php
filter/mediaplugin/flowplayer.audio.swf [deleted file]
filter/mediaplugin/flowplayer.controls.swf [deleted file]
filter/mediaplugin/flvplayer.README.txt [deleted file]
filter/mediaplugin/flvplayer.fla.zip [deleted file]
filter/mediaplugin/flvplayer.swf [deleted file]
filter/mediaplugin/lang/en/filter_mediaplugin.php
filter/mediaplugin/mp3player.fla.zip [deleted file]
filter/mediaplugin/mp3player.swf [deleted file]
filter/mediaplugin/styles.css [new file with mode: 0644]
filter/mediaplugin/version.php
filter/urltolink/filter.php
filter/urltolink/filtersettings.php
filter/urltolink/lang/en/filter_urltolink.php
lib/filelib.php
lib/flowplayer.js [deleted file]
lib/flowplayer/README.txt [new file with mode: 0644]
lib/flowplayer/flowplayer-3.2.6.js [new file with mode: 0644]
lib/flowplayer/flowplayer-3.2.7.swf [new file with mode: 0644]
lib/flowplayer/flowplayer.audio-3.2.2.swf [new file with mode: 0644]
lib/flowplayer/flowplayer.controls-3.2.5.swf [new file with mode: 0644]
lib/flowplayer/readme_moodle.txt [new file with mode: 0644]
lib/javascript-static.js
lib/outputlib.php
lib/outputrenderers.php
lib/outputrequirementslib.php
lib/resourcelib.php
lib/thirdpartylibs.xml
lib/ufo.js [deleted file]
lib/weblib.php
mod/lesson/locallib.php
mod/lesson/styles.css
mod/resource/locallib.php
mod/resource/styles.css
mod/url/lang/en/url.php
mod/url/locallib.php
mod/url/styles.css [new file with mode: 0644]
theme/anomaly/config.php
theme/arialist/config.php
theme/base/style/core.css
theme/binarius/config.php
theme/boxxie/config.php
theme/brick/config.php
theme/canvas/config.php
theme/formal_white/config.php
theme/formfactor/config.php
theme/fusion/config.php
theme/leatherbound/config.php
theme/magazine/config.php
theme/nimble/config.php
theme/nonzero/config.php
theme/overlay/config.php
theme/serenity/config.php
theme/sky_high/config.php
theme/standard/style/core.css