Set XHR response MimeType to 'text/xml'.
- If the MimeType of the DASH presentation returned from the
server is not 'text/xml' then responseXML would be NULL.
Change-Id: Ic863ea51aa6a48a993ccc0c37ecb8c26ec114b3f
diff --git a/adaptive/dash_parser.js b/adaptive/dash_parser.js
index 8399fd2..c959fa6 100755
--- a/adaptive/dash_parser.js
+++ b/adaptive/dash_parser.js
@@ -35,7 +35,7 @@
* @return {string} version.
*/
DashParser.version = function() {
- return '0.1.0.1';
+ return '0.1.0.2';
};
/**
@@ -105,6 +105,7 @@
} else {
xhReq = new ActiveXObject('Microsoft.XMLHTTP');
}
+ xhReq.overrideMimeType('text/xml');
xhReq.onreadystatechange = function() {
if (xhReq.readyState != 4) {