|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Data Structures | |
| class | filter_mediaplugin |
Namespaces | |
| namespace | filter |
Functions | |
| filter_mediaplugin_parse_alternatives ($url, $defaultwidth=0, $defaultheight=0) | |
| filter_mediaplugin_ignore ($tag) | |
| filter_mediaplugin_html5audio_callback (array $link) | |
| filter_mediaplugin_html5video_callback (array $link) | |
| filter_mediaplugin_mp3_callback ($link) | |
| filter_mediaplugin_swf_callback ($link) | |
| filter_mediaplugin_flv_callback ($link) | |
| filter_mediaplugin_real_callback ($link) | |
| filter_mediaplugin_wmp_callback ($link) | |
| filter_mediaplugin_qt_callback ($link) | |
| filter_mediaplugin_flv_callback | ( | $ | link | ) |
Replace flv links with flow player.
| $link |
Definition at line 548 of file filter.php.

| filter_mediaplugin_html5audio_callback | ( | array $ | link | ) |
=========================== callback filter functions Replace audio links with audio tag.
| array | $link |
Definition at line 257 of file filter.php.

| filter_mediaplugin_html5video_callback | ( | array $ | link | ) |
Replace ogg video links with video tag.
Please note this is not going to work in all browsers, it is also not xhtml strict.
| array | $link |
Definition at line 350 of file filter.php.

| filter_mediaplugin_ignore | ( | $ | tag | ) |
Should the current tag be ignored in this filter?
| string | $tag |
Definition at line 239 of file filter.php.

| filter_mediaplugin_mp3_callback | ( | $ | link | ) |
Replace mp3 links with small audio player.
| $link |
Definition at line 454 of file filter.php.

| filter_mediaplugin_parse_alternatives | ( | $ | url, |
| $ | defaultwidth = 0, |
||
| $ | defaultheight = 0 |
||
| ) |
Parse list of alternative URLs
| string | $url | urls separated with '#', size specified as ?d=640x480 or #d=640x480 |
| int | $defaultwidth | |
| int | $defaultheight |
Definition at line 202 of file filter.php.


| filter_mediaplugin_qt_callback | ( | $ | link | ) |
Replace quicktime links with quicktime player.
You need to install a quicktime player, it is not available for all browsers+OS combinations.
| $link |
Definition at line 866 of file filter.php.

| filter_mediaplugin_real_callback | ( | $ | link | ) |
Replace real media links with real player.
Note: hopefully nobody is using this obsolete format any more.
| $link |
Definition at line 631 of file filter.php.

| filter_mediaplugin_swf_callback | ( | $ | link | ) |
Replace swf links with embedded flash objects.
Please note this is not a secure and is recommended to be disabled on production systems.
| $link |
Definition at line 492 of file filter.php.

| filter_mediaplugin_wmp_callback | ( | $ | link | ) |
Embed video using window media player if available
This does not work much outside of IE, hopefully not many ppl use it these days.
| $link |
Definition at line 800 of file filter.php.
