restored original youtube onProcessingComplete code with player; accept callback functions to directive