Add elements to HTML5 media (source, tracks, etc)
function insertElements(type, attributes) {
	    var _this = this;

	    if (is$1.string(attributes)) {
	      insertElement(type, this.media, {
	        src: attributes
	      });
	    } else if (is$1.array(attributes)) {
	      attributes.forEach(function (attribute) {
	        insertElement(type, _this.media, attribute);
	      });
	    }
	  }