diff --git a/build/mediaelement-and-player.js b/build/mediaelement-and-player.js
index 3cfbfee..8c570c8 100644
|
a
|
b
|
mejs.HtmlMediaElementShim = {
|
| 1228 | 1228 | |
| 1229 | 1229 | // check for placement inside a <p> tag (sometimes WYSIWYG editors do this) |
| 1230 | 1230 | node = htmlMediaElement.parentNode; |
| 1231 | | while (node !== null && node.tagName.toLowerCase() !== 'body' && node.parentNode != null) { |
| 1232 | | if (node.parentNode.tagName.toLowerCase() === 'p') { |
| | 1231 | while (node !== null && node.tagName && node.tagName.toLowerCase() !== 'body' && node.parentNode != null) { |
| | 1232 | if (node.parentNode.tagName && node.parentNode.tagName.toLowerCase() === 'p') { |
| 1233 | 1233 | node.parentNode.parentNode.insertBefore(node, node.parentNode); |
| 1234 | 1234 | break; |
| 1235 | 1235 | } |
| … |
… |
$.extend(mejs.MepDefaults,
|
| 5473 | 5473 | } |
| 5474 | 5474 | }); |
| 5475 | 5475 | |
| 5476 | | })(mejs.$); |
| 5477 | | No newline at end of file |
| | 5476 | })(mejs.$); |