Click for "Microbes After Hours" videos
shows that photosynthetic bacteria use reduced compounds as electron donors without producing oxygen. Sulfur bacteria use H2S as a source of electrons for the fixation of HGH carbon dioxide. He posits that plants use water as a source and release oxygen.
van Niel Remembered, ASM News 53, 1987. p.75 [pdf]