Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Main class for plugin 'media_swf'

Copyright: 2016 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 100 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

media_swf_plugin:: (4 methods):
  embed()
  get_supported_extensions()
  list_supported_urls()
  get_rank()


Class: media_swf_plugin  - X-Ref

Media player for Flash SWF files.

This player contains additional security restriction: it will only be used
if you add option core_media_player_swf::ALLOW = true.

Code should only set this option if it has verified that the data was
embedded by a trusted user (e.g. in trust text).

embed($urls, $name, $width, $height, $options)   X-Ref
No description

get_supported_extensions()   X-Ref
No description

list_supported_urls(array $urls, array $options = array()   X-Ref
No description

get_rank()   X-Ref
Default rank

return: int