         }
     }
     
-	var fileReferencedURL = false
+	var videoFileReferencedURL = false
     override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {
         
         if object as! NSObject == webView && keyPath == "estimatedProgress" {

    }
    
    private func zoomIn() {
		if !fileReferencedURL {
			webView.magnification += 0.1
		}
     }
    
    private func zoomOut() {
		if !fileReferencedURL {
			webView.magnification -= 0.1
		}
    }
    
    private func resetZoom() {
		if !fileReferencedURL {
			webView.magnification = 1
		}
    }

						title = "Helium"
					} else {
						let url = (self.webView.URL)
						videoFileReferencedURL = false
						if ((url?.isFileReferenceURL()) != nil) {
							title = url!.lastPathComponent!
	
							//	if it's a video file, get and set window content size to its dimentions
							let track0 = AVURLAsset(URL:url!, options:nil).tracks[0]
							if track0.mediaType == AVMediaTypeVideo
							{
								webView.window?.setContentSize(track0.naturalSize)
								videoFileReferencedURL = true
							}

						} else {
							title = (url?.absoluteString)!
						}
					}
					lastTitle = title as String
