This tests that a video element receives "resize" event correctly when we append initialization and media segment to its source buffer.