Style clean up.  Also, if a video element has a loop attribute, ended is no longer called (WTF).