Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/filter/mediaplugin/filter.php File Reference

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)

Function Documentation

Replace flv links with flow player.

Parameters:
$link
Returns:
string

Definition at line 548 of file filter.php.

Here is the call graph for this function:

=========================== callback filter functions Replace audio links with audio tag.

Parameters:
array$link
Returns:
string

Definition at line 257 of file filter.php.

Here is the call graph for this function:

Replace ogg video links with video tag.

Please note this is not going to work in all browsers, it is also not xhtml strict.

Parameters:
array$link
Returns:
string

Definition at line 350 of file filter.php.

Here is the call graph for this function:

Should the current tag be ignored in this filter?

Parameters:
string$tag
Returns:
bool

Definition at line 239 of file filter.php.

Here is the caller graph for this function:

Replace mp3 links with small audio player.

Parameters:
$link
Returns:
string

Definition at line 454 of file filter.php.

Here is the call graph for this function:

filter_mediaplugin_parse_alternatives ( url,
defaultwidth = 0,
defaultheight = 0 
)

Parse list of alternative URLs

Parameters:
string$urlurls separated with '#', size specified as ?d=640x480 or #d=640x480
int$defaultwidth
int$defaultheight
Returns:
array (urls, width, height)

Definition at line 202 of file filter.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Replace quicktime links with quicktime player.

You need to install a quicktime player, it is not available for all browsers+OS combinations.

Parameters:
$link
Returns:
string

Definition at line 866 of file filter.php.

Here is the call graph for this function:

Replace real media links with real player.

Note: hopefully nobody is using this obsolete format any more.

Parameters:
$link
Returns:
string

Definition at line 631 of file filter.php.

Here is the call graph for this function:

Replace swf links with embedded flash objects.

Please note this is not a secure and is recommended to be disabled on production systems.

Deprecated:
Parameters:
$link
Returns:
string

Definition at line 492 of file filter.php.

Here is the call graph for this function:

Embed video using window media player if available

This does not work much outside of IE, hopefully not many ppl use it these days.

Parameters:
$link
Returns:
string

Definition at line 800 of file filter.php.

Here is the call graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations