             
             let barController = self.parent as! UITabBarController
             
-            self.boundsVideo.size = sizeCell
-            controller.view.frame = self.boundsVideo
+            self.frameVideo.size = sizeCell
+            controller.view.frame = self.frameVideo
             let orientation = UIDevice.current.orientation
             if orientation == .landscapeRight || orientation == .landscapeLeft
             {

        
        if let cell = tableView.cellForRow(at: indexPath)
        {
            boundsVideo = cell.superview!.convert(cell.frame, to: self.view)
            boundsVideo.size.height = sizeCell.height
            
            if self.videoController == nil
            {
                videoController = AVPlayerViewController()
                videoController?.view.frame = boundsVideo
                view.addSubview(videoController!.view)
                videoController?.view.isHidden = true
            }

            UIView.animate(withDuration: 0.25, animations:
            { [unowned self] in
                self.videoController!.view.isHidden = false
                self.videoController!.view.frame = self.frameVideo
            }, completion:
            { [unowned self] (flag) in
                self.videoController!.player = AVPlayer(url: url)
