// wait a little, then make sure it loaded
new Timer() {
@Override
public void run() {
MediaError error = video.getError();
if (error != null) {
fail("Media error (" + error.getCode() + ")");
}
assertEquals(videoWidth, video.getVideoWidth());
assertEquals(videoHeight, video.getVideoHeight());
finishTest();
}