private void addVideo(Video video){
		VideoPlayer videoPlayer;
		if(scalingFactorX!= 1 || scalingFactorY != 1){
			videoPlayer = new VideoPlayer(video,videoListener);
			videoPlayer.resizeVideo(scalingFactorX, scalingFactorY);
		}
		else{
			videoPlayer = new VideoPlayer(video,videoListener);
		}
		layeredPane.add(videoPlayer,video.getLayer());
	}