This Is a pretty common problem with the mplayer plug in and it is not just limited to Ubuntu. One way to avoid firefox exiting is to wait until the video is done playing or press the stop button before going back. Otherwise you just have to live with it. -Kreg