Right now, this breaks when used in strict mode because in createElement it tries to set localName back to the tagName but setting localName on the element isn't allowed in strict mode. Loose mode lets it slide, though.
Making a change to video.js to disable strict mode for now (videojs/video.js#4551) but it should be fixed here ultimately.