John Okely
1abd43763c
MDL-57316 media: Setup media plugins in media_manager::instance()
2017-02-07 09:16:01 +08:00
Frederic Massart
a174f2474f
MDL-57101 media_videojs: Set-up player on dynamically loaded content
2016-11-29 12:36:26 +08:00
Marina Glancy
fab11235d8
MDL-38158 core_media: Convert media players to new plugin type
...
AMOS BEGIN
MOV [siteyoutube,core_media],[pluginname,media_youtube]
MOV [siteyoutube_desc,core_media],[pluginname_help,media_youtube]
MOV [sitevimeo,core_media],[pluginname,media_vimeo]
MOV [sitevimeo_desc,core_media],[pluginname_help,media_vimeo]
MOV [html5audio,core_media],[pluginname,media_html5audio]
MOV [html5audio_desc,core_media],[pluginname_help,media_html5audio]
MOV [html5video,core_media],[pluginname,media_html5video]
MOV [html5video_desc,core_media],[pluginname_help,media_html5video]
MOV [flashanimation,core_media],[pluginname,media_swf]
MOV [flashanimation_desc,core_media],[pluginname_help,media_swf]
AMOS END
2016-11-04 17:30:40 +08:00
Zachary Durber
5329d84f0b
MDL-48546 filters: Split on all tags for multimedia filter check.
2015-01-07 17:34:28 +01:00
Zachary Durber
75cb0ffffe
MDL-48546 filters: ReDoS protection for multimedia links.
2015-01-07 12:27:51 +08:00
Dan Poltawski
dc88f6699d
Revert "MDL-43852 Filters Fixed naked-OR conditions."
...
While the patch worked as intended, we discovered some other concerns
about use of this setting in testing.
This reverts commit 840c1c554d .
2014-03-06 09:03:19 +08:00
Gordon Bateson
840c1c554d
MDL-43852 Filters Fixed naked-OR conditions.
2014-02-28 23:55:17 +01:00
sam marshall
daefd6eb97
MDL-29624 Media embedding system, part 1: new API and filter changes
...
Includes new API in medialib.php and core_media_renderer in outputrenderers.php.
Enable/disable settings moved from filter to systemwide appearance page.
Filter changed to use new API.
AMOS BEGIN
MOV [flashanimation,filter_mediaplugin],[flashanimation,core_media]
MOV [flashanimation_help,filter_mediaplugin],[flashanimation_desc,core_media]
MOV [flashvideo,filter_mediaplugin],[flashvideo,core_media]
MOV [flashvideo_help,filter_mediaplugin],[flashvideo_desc,core_media]
MOV [html5audio,filter_mediaplugin],[html5audio,core_media]
MOV [html5audio_help,filter_mediaplugin],[html5audio_desc,core_media]
MOV [html5video,filter_mediaplugin],[html5video,core_media]
MOV [html5video_help,filter_mediaplugin],[html5video_desc,core_media]
MOV [mp3audio,filter_mediaplugin],[mp3audio,core_media]
MOV [mp3audio_help,filter_mediaplugin],[mp3audio_desc,core_media]
MOV [legacyquicktime,filter_mediaplugin],[legacyquicktime,core_media]
MOV [legacyquicktime_help,filter_mediaplugin],[legacyquicktime_desc,core_media]
MOV [legacyreal,filter_mediaplugin],[legacyreal,core_media]
MOV [legacyreal_help,filter_mediaplugin],[legacyreal_desc,core_media]
MOV [legacywmp,filter_mediaplugin],[legacywmp,core_media]
MOV [legacywmp_help,filter_mediaplugin],[legacywmp_desc,core_media]
MOV [legacyheading,filter_mediaplugin],[legacyheading,core_media]
MOV [legacyheading_help,filter_mediaplugin],[legacyheading_desc,core_media]
MOV [sitevimeo,filter_mediaplugin],[sitevimeo,core_media]
MOV [sitevimeo_help,filter_mediaplugin],[sitevimeo_desc,core_media]
MOV [siteyoutube,filter_mediaplugin],[siteyoutube,core_media]
MOV [siteyoutube_help,filter_mediaplugin],[siteyoutube_desc,core_media]
AMOS END
2012-05-09 18:29:29 +01:00
Petr Skoda
afd1c47c10
MDL32423 import latest flowplayer
2012-04-15 15:59:07 +02:00
Gerard (Gerry) Caulfield
ce8df92df1
MDL-31107 Fixing instaces of below where it is written as bellow (two L's)
2012-02-10 15:40:04 +08:00
Petr Skoda
7f86bee330
MDL-30303 fix media playback from URLs with ? query parts
...
Credit for the rawurlencode() fix goes to Eloy.
2011-11-19 18:17:37 +01:00
Petr Skoda
c4b491a417
MDL-22733 enable youtube iframe embedding
2011-03-26 23:38:40 +01:00
Petr Skoda
a3516c4908
MDL-26826 add resizing of youtube and vimeo and remove non-functional % embedding sizes, only pixel sizes work in object tags
2011-03-17 22:13:07 +01:00
Petr Skoda
fcd2cbaf1f
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
2011-03-12 17:42:52 +01:00
Eloy Lafuente (stronk7)
42bdecde6d
Merge branch 'w07_MDL-26380_20_mediafilterperf' of git://github.com/skodak/moodle
2011-02-14 01:41:19 +01:00
Petr Skoda
a2ee26bf3e
MDL-26030 more mediaplugin fixes
...
Improved youtube id parsing, fixed url quoting and fixed unittests.
2011-02-12 19:47:52 +01:00
Petr Skoda
e68789c559
MDL-26380 improve perf of mediaplugin filter if no links found in text
2011-02-12 16:48:32 +01:00
Rossiani Wijaya
3f5192c088
MDL-26030 update filter regex and create unittest for filter mediaplugin
2011-02-12 12:23:04 +01:00
Rossiani Wijaya
469aa3ba50
create youtube playlist filter. Fixed regex, removed addslash_js, use variable param instead of url because the variable contains the value of the url parameter.
2011-01-31 15:03:58 +08:00
Dongsheng Cai
ee14924440
"MDL-25184, fixed regular expression of youtube"
2010-11-12 07:26:42 +00:00
Petr Skoda
4d4d20e7a2
MDL-24650 fixing sloppy regression, sorry; credit for goes to Daniele Cordella
2010-10-13 20:14:40 +00:00
Petr Skoda
388d1c024d
MDL-24650 xhtml strict fix in filter
2010-10-13 17:29:35 +00:00
David Mudrak
dcfffe3072
MDL-24531 Extend filter manager API so that options can be passed to the filters
...
The only option passed at the moment is the original format in which the
user inserted the text. Other options can be added later if/when needed.
2010-10-07 08:57:20 +00:00
Petr Skoda
8e7fecd96e
prevent notices from media filter plugin before the plugin gets upgraded + whitespace
2010-09-20 18:28:46 +00:00
Rossiani Wijaya
ce5dc36e38
MDL-19927 - add media plugins support for ogg and ogv files.
2010-09-20 09:47:54 +00:00
Rossiani Wijaya
3a42ad126c
MDL-23870: Replace flash and mp3 multimedia filter with flowplayer.
2010-09-09 11:30:06 +00:00
Andrew Davis
4842422f85
filter MDL-23903 fixed problems with youtube handling in the multimedia filter
2010-08-25 02:16:50 +00:00
Petr Skoda
35716b8682
MDL-22001 filter_text() and filter_string() now use context parameter instead of courseid, PAGE->context is used only as a fallback; moved comment stuff away from format_text() because it does not belong there; filterlib is not using courseid except for legacy filters; fixed coding style in filters;?improved php docs; fixed upgrade of filters (should be in plugins, not core)
2010-07-30 20:51:01 +00:00
Martin Dougiamas
1387d5eb25
NOBUG: Make quicktime videos a bit bigger
2010-07-09 03:17:00 +00:00
Petr Skoda
a845d68b9f
MDL-21694 moving filters strings to correct plugin location
2010-04-01 19:27:30 +00:00
Petr Skoda
10eaeca808
MDL-21403 hardcoded JS legacy code should not use new $PAGE->requires-> api, switching to html_writer instead + improved ufo embedding
2010-01-26 10:35:13 +00:00
Petr Skoda
9dec75dbcc
MDL-21240 shortened urls now start with / everywhere
2010-01-18 20:57:32 +00:00
Petr Skoda
088ccb43cf
MDL-21125 obsoleting global $THEME
2009-12-23 17:51:41 +00:00
Petr Skoda
4317f92f3f
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 12:51:40 +00:00
ashleyholman
5e01555f74
MDL-5223 fix flashvars in mediafilter to make waitForPlay work.
2009-10-01 00:30:49 +00:00
stronk7
a184479acb
MDL-18658 add support for m4a files in the multimedia filter + missing mimetypes. Credit goes to Ralf Krause, thanks! Merged from 19_STABLE
2009-07-28 16:47:01 +00:00
moodler
4693659259
filter/mediaplugins MDL-18658 Add support for MP4 files (Quicktime)
2009-07-21 05:42:28 +00:00
samhemelryk
4d49202ffc
javascript-UFO MDL-19738 Stopped ufo.js being included in outputlib and included it in each place it was actually being used.
...
It will no only be loaded when it is being used. If something new comes along they will need to remember to require it.
At the same time cleaned up a few deprecated calls
2009-07-08 04:12:11 +00:00
samhemelryk
82afb58797
filter-mediaplugin MDL-16706 Replaced inline JS with new PAGE methods and created mediaplugin.js
2009-06-29 08:05:21 +00:00
poltawski
c7ad563f55
filters/multimedia MDL-19504 - Fullscreen button didn't work
...
merged from MOODLE_19_STABLE
2009-06-15 11:21:13 +00:00
dongsheng
e614d79991
"MDL-14412, fix cvs conflict mark"
2009-05-08 08:36:34 +00:00
nicolasconnault
7c59f3be9d
MDL-14412 Applied Michael's patches to fix ram/rm support in firefox. Merged from MOODLE_19_STABLE
2009-05-07 08:57:46 +00:00
moodler
224eccbfe2
filter/mediaplugin MDL-19006 Better variable check to avoid notices
2009-05-01 02:26:47 +00:00
moodler
c159f28b6b
filter/mediaplugin MDL-19006 Add auto-embedding of images that are linked to.
2009-04-29 07:30:41 +00:00
tjhunt
ccc161f8f0
filters: MDL-7336 change weblib to use the new code
...
* Rename filter base class from filter_base to moodle_text_filter
* Remove unnecessary explicit constructors in moodle_text_filter
subclasses
* New filter_manager class, rather than static methods in filter_base
* Move some logic out of weblib, and into filter_manager
* Count filtering ops when $CFG->perfdebug on, via
performance_measuring_filter_manager
* Kill unused filter_string function. Petr said it should have been
private to weblib
2009-04-13 06:56:32 +00:00
dongsheng
5bed810261
"FILTER/MDL-17703, reverse changes to work within p tag, merged from 1.9"
2009-02-16 07:09:50 +00:00
dongsheng
9133d4ad58
"FILTER/MDL-17703, use classname instead of inline style, merged from 1.9"
2009-01-19 01:57:02 +00:00
dongsheng
9aea9ddf37
"FILTER/MDL-17703, wrap object tag by div, merged from 1.9"
2009-01-16 05:21:03 +00:00
moodler
6188deb87e
filter/mediplugin MDL-16650 Fixed youtube videos on IE
2008-12-24 07:22:54 +00:00
dongsheng
9e3f34d1c7
"FILTER/MDL-14582, filters 2.0, compatible with old filters"
2008-12-19 02:16:00 +00:00