protected function postFilter() { parent::postFilter(); if ($this->play !== null) { $this->xml->setAttribute('play', $this->play); } if ($this->looping !== null) { $this->xml->setAttribute('looping', $this->looping); } }