{"action":"created","issue":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1526","repository_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js","labels_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1526/labels{/name}","comments_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1526/comments","events_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1526/events","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1526","id":168908520,"number":1526,"title":"Streams not playing on IE/Edge","user":{"login":"Thomasvdam","id":5650232,"avatar_url":"https://avatars.githubusercontent.com/u/5650232?v=3","gravatar_id":"","url":"https://api.github.com/users/Thomasvdam","html_url":"https://github.com/Thomasvdam","followers_url":"https://api.github.com/users/Thomasvdam/followers","following_url":"https://api.github.com/users/Thomasvdam/following{/other_user}","gists_url":"https://api.github.com/users/Thomasvdam/gists{/gist_id}","starred_url":"https://api.github.com/users/Thomasvdam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thomasvdam/subscriptions","organizations_url":"https://api.github.com/users/Thomasvdam/orgs","repos_url":"https://api.github.com/users/Thomasvdam/repos","events_url":"https://api.github.com/users/Thomasvdam/events{/privacy}","received_events_url":"https://api.github.com/users/Thomasvdam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-02T15:01:43Z","updated_at":"2016-08-04T06:01:53Z","closed_at":null,"body":"##### Environment\r\n- [x] The MPD passes the DASH-IF Conformance Tool on http://dashif.org/conformance.html\r\n- [x] The stream has correct Access-Control-Allow-Origin headers (CORS)\r\n- [x] There are no network errors such as 404s in the browser console when trying to play the stream\r\n- [x] The issue observed is not mentioned on https://github.com/Dash-Industry-Forum/dash.js/wiki/FAQ\r\n- [x] The issue occurs in the latest reference client on http://dashif.org/reference/players/javascript/ and not just on my page\r\n* Link to playable MPD file: http://manifest.us.rtl.nl/0/v175/none/dash/components/videorecorder/34/345829/345830/d8c5cb16-5c29-4afd-b8ec-fab83477c72b.ssm/Manifest.mpd\r\n* Dash.js version: 2.2.0 & 2.3.0\r\n* Browser name/version: IE11 & Edge\r\n* OS name/version: Windows 10\r\n\r\n##### Steps to reproduce\r\n1. When trying to load streams in IE and Edge Dashjs with the development console closed! It happens around 9/10 times for us.\r\n2. We use the following snippet to log to a textarea since we can't open the console:\r\n\r\n```JavaScript\r\nvar text = document.createElement('textarea');\r\ntext.style.width = '1000px';\r\ntext.style.height = '1000px';\r\n\r\nif (document.readyState === 'complete') {\r\n    document.body.insertBefore(text, document.body.firstChild);\r\n} else {\r\n    document.onreadystatechange = () => {\r\n        document.body.insertBefore(text, document.body.firstChild);\r\n    };\r\n}\r\n\r\nfunction logToText(...args) {\r\n    var result = '';\r\n    for (var i = 0; i < args.length; i++) {\r\n        var thing = args[i];\r\n\r\n        result = result + JSON.stringify(thing) + '\\n';\r\n    }\r\n\r\n    result = result + '------------\\n';\r\n\r\n    text.value += result;\r\n}\r\n\r\nconsole.error = logToText.bind(console);\r\nconsole.log = logToText.bind(console);\r\nconsole.warn = logToText.bind(console);\r\nconsole.info = logToText.bind(console);\r\n```\r\n\r\n##### Observed behaviour\r\nIt seems to crash while loading the manifest. For some magical reason this issue does not occur when the development console is open, and I've also seen it work normally once in a while without the dev console.\r\n\r\n##### Console output\r\n```\r\n\"[5] Playback Initialized \"\r\n\"[10] [dash.js 2.2.0] MediaPlayer has been initialized \"\r\n```\r\nAnd then we get an error event from `Dash.MediaPlayer.events.ERROR`, which logs [this](https://gist.github.com/Thomasvdam/488a7f2f04455574eb591ebc0c3eaa31)"},"comment":{"url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/comments/237460368","html_url":"https://github.com/Dash-Industry-Forum/dash.js/issues/1526#issuecomment-237460368","issue_url":"https://api.github.com/repos/Dash-Industry-Forum/dash.js/issues/1526","id":237460368,"user":{"login":"sandersaares","id":9914262,"avatar_url":"https://avatars.githubusercontent.com/u/9914262?v=3","gravatar_id":"","url":"https://api.github.com/users/sandersaares","html_url":"https://github.com/sandersaares","followers_url":"https://api.github.com/users/sandersaares/followers","following_url":"https://api.github.com/users/sandersaares/following{/other_user}","gists_url":"https://api.github.com/users/sandersaares/gists{/gist_id}","starred_url":"https://api.github.com/users/sandersaares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandersaares/subscriptions","organizations_url":"https://api.github.com/users/sandersaares/orgs","repos_url":"https://api.github.com/users/sandersaares/repos","events_url":"https://api.github.com/users/sandersaares/events{/privacy}","received_events_url":"https://api.github.com/users/sandersaares/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T06:01:53Z","updated_at":"2016-08-04T06:01:53Z","body":"I believe the Axinom maintained branch of xml2json has support for those matchers, though we have not tried sticking it into dash.js, so I do not know whether it might be missing anything.\r\n\r\nSee https://github.com/Axinom/x2js"}}
{"actor":{"display_login":"sandersaares"}}