Bug 1079519 - Unable to play video clips during WEBRTC video call

Rather than defining this as a global function, can you just put the relevant bits into ensureVideoLoads() below? One part of the code goes where you clear the overlay and the other part goes where you display the overlay.