pontificating

verb
  1. speaking in a pompous or dogmatic way, especially about topics one considers oneself an expert on
  2. Usage: often disapproving

Examples