function Media(parent, type)
{
	Component.call(this, parent, "div");

	/**
	 * Media DOM element that compatible with media controls.
	 *
	 * @attribute media
	 * @type {Element}
	 */
	this.media = document.createElement(type);
	this.element.appendChild(this.media);
}
Media element can be used to play media content.

Should be used as a base for other multimedia elements like audio and video.

@class Media
@extends {Component}
@param {Component} parent Parent element.
@param {string} type Type of the media element (e.g audio, video)