code: function() {
              if (!api._) {
                completion(new $.Error('The plugin went away before the stream could be bound.'));
                return;
              }
  
              if (api._.videoWidth > 0) {
                // This fires a little too soon.
                setTimeout(completion, 200);
              }
              else {
                setTimeout(verifyStream, 500);
              }
            }
docs: FIX ME renderingStarted currently doesn't first api.once('renderingStarted', completion);