fix DOMDocument not being found on embed codes