public function setWebVTT($_is_WebVTT = true) { $this->is_WebVTT = (bool) $_is_WebVTT; if ($this->is_WebVTT) { $this->encoding = 'utf-8'; } }