function setData($filename, $absoluteUrl = false)
    {
        if (!$absoluteUrl) {
            $this->data = \ManiaLib\Gui\Manialink::$mediaURL . $filename;
        } else {
            $this->data = $filename;
        }
    }
function setData($filename, $absoluteUrl = false)
    {
        if (!$absoluteUrl) {
            $this->data = \ManiaLib\Gui\Manialink::$mediaURL . $filename;
        } else {
            $this->data = $filename;
        }
    }
function setData ( $ filename , $ absoluteUrl = false ) { if ( ! $ absoluteUrl ) { $ this -> data = \ ManiaLib \ Gui \ Manialink :: $ mediaURL . $ filename ; } else { $ this -> data = $ filename ; } }
Sets the data to play
@param string The data filename (or URL)
@param bool Whether to prefix the filename with the default media dir URL
Sets the data to play