Commit efcfd209ef737f4dbe99401df282e7a341176ea7

Check "Files" of type 'application/xhtml+xml' for oEmbed in addition to just text/html
  
7878 $file_id = $x->insert();
7979
8080 if (isset($redir_data['type'])
81 && ('text/html' === substr($redir_data['type'], 0, 9))
81 && (('text/html' === substr($redir_data['type'], 0, 9) || 'application/xhtml+xml' === substr($redir_data['type'], 0, 21)))
8282 && ($oembed_data = File_oembed::_getOembed($given_url))) {
8383 File_oembed::saveNew($oembed_data, $file_id);
8484 }