3 testRunner.waitUntilDone();
5 function setupVideo(videoElement, videoPath, canPlayThroughCallback)
7 var mediaFile = findMediaFile("video", videoPath);
8 videoElement.addEventListener("canplaythrough", canPlayThroughCallback);
9 videoElement.src = mediaFile;