GO:0004666:   prostaglandin-endoperoxide synthase activity
Catalysis of the reaction: arachidonate + donor-H2 + 2 O2 = prostaglandin H2 + acceptor + H2O.