function waitForVideo(videoElement) {
  document.title = 'Waiting for video...';
  addExpectedEvent();
  detectVideoIn(videoElement, function () { eventOccured(); });
}
/**
 * Blocks test success until the provided videoElement has playing video.
 *
 * @param videoElementName The id of the video element. There must also be a
 *     canvas somewhere in the DOM tree with the id |videoElementName|-canvas.
 * @param callback The callback to call.
 */
Blocks test success until the provided videoElement has playing video.
@param videoElementName The id of the video element. There must also be a
canvas somewhere in the DOM tree with the id |videoElementName|-canvas.
@param callback The callback to call.
Blocks test success until the provided videoElement has playing video . @param videoElementName The id of the video element . There must also be a canvas somewhere in the DOM tree with the id |videoElementName| - canvas . @param callback The callback to call .
function waitForVideo(videoElement) {
  document.title = 'Waiting for video...';
  addExpectedEvent();
  detectVideoIn(videoElement, function () { eventOccured(); });
}
function waitForVideo ( videoElement ) { document . title = 'Waiting for video...' ; addExpectedEvent ( ) ; detectVideoIn ( videoElement , function ( ) { eventOccured ( ) ; } ) ; }
Blocks test success until the provided videoElement has playing video.
Blocks test success until the provided videoElement has playing video .