function _sizeVideo() {
		// Set initial vars
		data.windowHeight = data.viewportHeight = data.contentHeight = data.$window[0].innerHeight - data.paddingVertical
		data.windowWidth = data.viewportWidth = data.contentWidth = data.$window[0].innerWidth - data.paddingHorizontal
		data.videoMarginTop = 0
		data.videoMarginLeft = 0

		if (data.isMobile) {
			data.$meta.css({
				width: data.windowWidth
			})
			data.metaHeight = data.$meta.outerHeight(true)
			data.viewportHeight -= data.metaHeight

			data.targetVideoWidth = data.viewportWidth
			data.targetVideoHeight = data.targetVideoWidth * data.videoRatio

			if (data.targetVideoHeight > data.viewportHeight) {
				data.targetVideoHeight = data.viewportHeight
				data.targetVideoWidth = data.targetVideoHeight / data.videoRatio
			}

			data.videoMarginTop = (data.viewportHeight - data.targetVideoHeight) / 2
			data.videoMarginLeft = (data.viewportWidth - data.targetVideoWidth) / 2
		} else {
			data.viewportHeight = data.windowHeight - data.margin
			data.viewportWidth = data.windowWidth - data.margin

			data.targetVideoWidth = (data.videoWidth > data.viewportWidth) ? data.viewportWidth : data.videoWidth
			if (data.targetVideoWidth < data.minWidth) {
				data.targetVideoWidth = data.minWidth
			}
			data.targetVideoHeight = data.targetVideoWidth * data.videoRatio

			data.contentHeight = data.targetVideoHeight
			data.contentWidth = data.targetVideoWidth
		}

		data.$content.css({
			height: (data.isMobile) ? data.contentHeight : 'auto',
			width: data.contentWidth
		})
		data.$meta.css({
			width: data.contentWidth
		})
		data.$videoWrapper.css({
			height: data.targetVideoHeight,
			width: data.targetVideoWidth,
			marginTop: data.videoMarginTop,
			marginLeft: data.videoMarginLeft
		})

		if (!data.isMobile) {
			data.metaHeight = data.$meta.outerHeight(true)
			data.contentHeight = data.targetVideoHeight + data.metaHeight
		}

		data.containerHeight = data.contentHeight
		data.containerWidth = data.contentWidth
	}
/**
	 * @method private
	 * @name _sizeVideo
	 * @description Sizes video to fit in viewport
	 */
@method private
@name _sizeVideo
@description Sizes video to fit in viewport
@method private @name _sizeVideo @description Sizes video to fit in viewport
function _sizeVideo() {
		data.windowHeight = data.viewportHeight = data.contentHeight = data.$window[0].innerHeight - data.paddingVertical
		data.windowWidth = data.viewportWidth = data.contentWidth = data.$window[0].innerWidth - data.paddingHorizontal
		data.videoMarginTop = 0
		data.videoMarginLeft = 0
		if (data.isMobile) {
			data.$meta.css({
				width: data.windowWidth
			})
			data.metaHeight = data.$meta.outerHeight(true)
			data.viewportHeight -= data.metaHeight
			data.targetVideoWidth = data.viewportWidth
			data.targetVideoHeight = data.targetVideoWidth * data.videoRatio
			if (data.targetVideoHeight > data.viewportHeight) {
				data.targetVideoHeight = data.viewportHeight
				data.targetVideoWidth = data.targetVideoHeight / data.videoRatio
			}
			data.videoMarginTop = (data.viewportHeight - data.targetVideoHeight) / 2
			data.videoMarginLeft = (data.viewportWidth - data.targetVideoWidth) / 2
		} else {
			data.viewportHeight = data.windowHeight - data.margin
			data.viewportWidth = data.windowWidth - data.margin
			data.targetVideoWidth = (data.videoWidth > data.viewportWidth) ? data.viewportWidth : data.videoWidth
			if (data.targetVideoWidth < data.minWidth) {
				data.targetVideoWidth = data.minWidth
			}
			data.targetVideoHeight = data.targetVideoWidth * data.videoRatio
			data.contentHeight = data.targetVideoHeight
			data.contentWidth = data.targetVideoWidth
		}
		data.$content.css({
			height: (data.isMobile) ? data.contentHeight : 'auto',
			width: data.contentWidth
		})
		data.$meta.css({
			width: data.contentWidth
		})
		data.$videoWrapper.css({
			height: data.targetVideoHeight,
			width: data.targetVideoWidth,
			marginTop: data.videoMarginTop,
			marginLeft: data.videoMarginLeft
		})
		if (!data.isMobile) {
			data.metaHeight = data.$meta.outerHeight(true)
			data.contentHeight = data.targetVideoHeight + data.metaHeight
		}
		data.containerHeight = data.contentHeight
		data.containerWidth = data.contentWidth
	}
function _sizeVideo ( ) { data . windowHeight = data . viewportHeight = data . contentHeight = data . $window [ 0 ] . innerHeight - data . paddingVertical data . windowWidth = data . viewportWidth = data . contentWidth = data . $window [ 0 ] . innerWidth - data . paddingHorizontal data . videoMarginTop = 0 data . videoMarginLeft = 0 if ( data . isMobile ) { data . $meta . css ( { width : data . windowWidth } ) data . metaHeight = data . $meta . outerHeight ( true ) data . viewportHeight -= data . metaHeight data . targetVideoWidth = data . viewportWidth data . targetVideoHeight = data . targetVideoWidth * data . videoRatio if ( data . targetVideoHeight > data . viewportHeight ) { data . targetVideoHeight = data . viewportHeight data . targetVideoWidth = data . targetVideoHeight / data . videoRatio } data . videoMarginTop = ( data . viewportHeight - data . targetVideoHeight ) / 2 data . videoMarginLeft = ( data . viewportWidth - data . targetVideoWidth ) / 2 } else { data . viewportHeight = data . windowHeight - data . margin data . viewportWidth = data . windowWidth - data . margin data . targetVideoWidth = ( data . videoWidth > data . viewportWidth ) ? data . viewportWidth : data . videoWidth if ( data . targetVideoWidth < data . minWidth ) { data . targetVideoWidth = data . minWidth } data . targetVideoHeight = data . targetVideoWidth * data . videoRatio data . contentHeight = data . targetVideoHeight data . contentWidth = data . targetVideoWidth } data . $content . css ( { height : ( data . isMobile ) ? data . contentHeight : 'auto' , width : data . contentWidth } ) data . $meta . css ( { width : data . contentWidth } ) data . $videoWrapper . css ( { height : data . targetVideoHeight , width : data . targetVideoWidth , marginTop : data . videoMarginTop , marginLeft : data . videoMarginLeft } ) if ( ! data . isMobile ) { data . metaHeight = data . $meta . outerHeight ( true ) data . contentHeight = data . targetVideoHeight + data . metaHeight } data . containerHeight = data . contentHeight data . containerWidth = data . contentWidth }
@method private
 @name _sizeVideo
 @description Sizes video to fit in viewport
@method private @name _sizeVideo @description Sizes video to fit in viewport
// Set initial vars