public function admin() { $html = parent::admin(); // get frontendcode for preview // put the video code inside the generic code $html = str_replace("</div>", $this->frontend() . "</div>", $html); return $html; }