I've got some issues

after watching a video on youtube (or jwplayer) on fullscreen I have to pause the video to possibly avoid getting a blank screen, usually after that happens I press Ctrl+Alt+F1 and log in and input the command
unity restart
and then after pressing Ctrl + Alt + F7 evrything gets back to normal, but I would rather like to Press ESC and listen to the ending music in the background after watching a movie/video, so I am asking if it's possible to arrange that?