TrackManiaControl/application/core/FML/Controls/Audio.php

31 lines
512 B
PHP
Raw Normal View History

<?php
namespace FML\Controls;
/**
* Class representing audio (CMlMediaPlayer)
*
* @author steeffeen
*/
class Audio extends Control implements Playable, Scriptable {
/**
* Construct a new audio control
*
* @param string $id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->tagName = 'audio';
}
/**
*
* @see \FML\Control::render()
*/
public function render(\DOMDocument $domDocument) {
$xml = parent::render($domDocument);
return $xml;
}
}