platform/video.videojs/dist/video.es.js
function setTextContent(el, content) {
  if (el.styleSheet) {
    el.styleSheet.cssText = content;
  } else {
    el.textContent = content;
  }
}
function setTextContent(el, content) {
  if (el.styleSheet) {
    el.styleSheet.cssText = content;
  } else {
    el.textContent = content;
  }
}
Add text to a DOM element.

@param {Element} el
The Element to add text content to.

@param {string} content
The text to add to the element.