youtube Video Crash my web app Tv

youtube player is showing the video but when i press the button to come back to the previous page it crash the whole application