code: function(element, player, id) {
        var wrapper = document.createElement('div'),
            newElement = element.cloneNode(true);
        wrapper.setAttribute('class', 'audiojs');
        wrapper.setAttribute('className', 'audiojs');
        wrapper.setAttribute('id', id);
  
        // Fix IE's broken implementation of `innerHTML` & `cloneNode` for HTML5 elements.
        if (newElement.outerHTML && !document.createElement('audio').canPlayType) {
          newElement = this.helpers.cloneHtml5Node(element);
          wrapper.innerHTML = player.markup;
          wrapper.appendChild(newElement);
          element.outerHTML = wrapper.outerHTML;
          wrapper = document.getElementById(id);
        } else {
          wrapper.appendChild(newElement);
          wrapper.innerHTML = wrapper.innerHTML + player.markup;
          element.parentNode.replaceChild(wrapper, element);
        }
        return wrapper.getElementsByTagName('audio')[0];
      }
docs: ### Helper methods for constructing a working player Inject a wrapping div and the markup for the html player.