Fixes a problem with quickly displaying video preview can leave the camera open, adds listeners earlier to be sure we will get ui events to stop player.