johndyer/mediaelement — pull request #811 by christopheschwyzer (2013-03-22 09:12:03+00:00)
Title: <audio> tag not in DOM fails in IE8

In IE8 if you create an `` element outside of the document it will behave different then in modern browsers.
Let's say we create and initialise the element like this:
```javascript
var element = $('')[0];
new MediaElement(element);
```

In IE8 the element's `parentNode` will be set to a `HTMLDocument` object, which has no `tagName` property, so the following code will fail:
```javascript
node = htmlMediaElement.parentNode;
while (node !== null && node.tagName.toLowerCase() != 'body') {
```