Fixed toggling bug adding multiple identical videos

Toggling an element that has a video could insert that video multiple
times if toggled during the hide animation. We have to guard against
this, making sure a video is only inserted once.