function Video(url, encoding)
{
	Resource.call(this, "video", "Video");

	if (url !== undefined)
	{	
		// ArrayBuffer
		if (url instanceof ArrayBuffer)
		{
			this.loadArrayBufferData(url, encoding);
		}
		// Base64
		else if (Base64Utils.isBase64(url))
		{
			this.encoding = Base64Utils.getFileFormat(url);
			this.format = "base64";
			this.data = url;
		}
		// URL
		else
		{
			this.loadArrayBufferData(FileSystem.readFileArrayBuffer(url), FileSystem.getFileExtension(url));
		}
	}
}
Video resources are used to store video.

Video data stored in base64.

@class Video
@extends {Resource}
@module Resources
@param {string} url URL to video file.
@param {string} encoding Image encoding, required for ArrayBuffer data.