 
         if let tag = trackingTag {
             view.removeTrackingRect(tag)
+        }
+        if videoFileReferencedURL {
+            let newSize = webView.bounds.size
+			let aspect = webSize.height / webSize.width
+            let magnify = newSize.width / webSize.width
+			let newHeight = newSize.width * aspect
+			let adjSize = NSMakeSize(newSize.width-1,newHeight-1)
+
+            webView.setMagnification(magnify, centeredAtPoint: NSMakePoint(adjSize.width/2.0, adjSize.height/2.0))
+			view.bounds.size = adjSize
         }
 
         trackingTag = view.addTrackingRect(view.bounds, owner: self, userData: nil, assumeInside: false)

        }
    }
    
	var videoFileReferencedURL = false
    override func observeValueForKeyPath(keyPath: String?, ofObject object: AnyObject?, change: [String : AnyObject]?, context: UnsafeMutablePointer<Void>) {
        

    internal func loadURL(url:NSURL) {
        webView.loadRequest(NSURLRequest(URL: url))
    }

    func playerDidFinishPlaying(note: NSNotification) {
        NSNotificationCenter.defaultCenter().removeObserver(self, name: AVPlayerItemDidPlayToEndTimeNotification, object: note.object)
        print("Video Finished")
    }

    func loadURLObject(urlObject : NSNotification) {
        if let url = urlObject.object as? NSURL {
            loadAlmostURL(url.absoluteString);
