vendor/videojs/video.js
function createElement(type, annotation) {
      var tagName = TAG_NAME[type];
      if (!tagName) {
        return null;
      }
      var element = window.document.createElement(tagName);
      element.localName = tagName;
      var name = TAG_ANNOTATION[type];
      if (name && annotation) {
        element[name] = annotation.trim();
      }
      return element;
    }
function createElement(type, annotation) {
      var tagName = TAG_NAME[type];
      if (!tagName) {
        return null;
      }
      var element = window.document.createElement(tagName);
      element.localName = tagName;
      var name = TAG_ANNOTATION[type];
      if (name && annotation) {
        element[name] = annotation.trim();
      }
      return element;
    }
function createElement ( type , annotation ) { var tagName = TAG_NAME [ type ] ; if ( ! tagName ) { return null ; } var element = window . document . createElement ( tagName ) ; element . localName = tagName ; var name = TAG_ANNOTATION [ type ] ; if ( name && annotation ) { element [ name ] = annotation . trim ( ) ; } return element ; }
Create an element for this tag.
Create an element for this tag .