- Moved FML into core folder
- Endurance plugin - map class nbCheckpoints - added script callbacks registration
This commit is contained in:
30
application/core/FML/Controls/Video.php
Normal file
30
application/core/FML/Controls/Video.php
Normal file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace FML\Controls;
|
||||
|
||||
/**
|
||||
* Class representing video (CMlMediaPlayer)
|
||||
*
|
||||
* @author steeffeen
|
||||
*/
|
||||
class Video extends Control implements Playable, Scriptable {
|
||||
|
||||
/**
|
||||
* Construct a new video control
|
||||
*/
|
||||
public function __construct($id = null) {
|
||||
parent::__construct($id);
|
||||
$this->tagName = 'video';
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @see \FML\Control::render()
|
||||
*/
|
||||
public function render(\DOMDocument $domDocument) {
|
||||
$xml = parent::render($domDocument);
|
||||
return $xml;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user