Record a video when the Video env is closed, otherwise the last video is missing.
Record a video when the Video env is closed, otherwise the last video is missing.

PiperOrigin-RevId: 428728380
Change-Id: I616dda666a63a5181f7e0363c0982714305755bb

deepmind/acme,deepmind/acme