ControlBar fails with SCRIPT87 Invalid Argument on Edge
Created by: davemevans
When playing http://rdmedia.bbc.co.uk/dash/ondemand/testcard/1/client_manifest-events.mpd, for example, on Edge, an Invalid Argument exception is thrown.
This appears to be because the ControlBar is setting the type
attribute on a new <li>
element it is creating.
HTMLLIElement.type is obsolete (https://developer.mozilla.org/en/docs/Web/API/HTMLLIElement), but Edge still seems to be doing some input checking. Since type is not one of disc
, circle
, square
etc, it appears to be rejecting the input.
The type attribute is being used to store the mediaType. I would imagine renaming the type attribute would solve the issue.
Predictably, the problem also exists in IE11.