These can be typed:

delegate VideoCompleteDelegate((type:String, payload:String);

then:

public static native var VideoCompleteDelegate;

also for OnFail