Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is 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