I think large ocean-going vessels is one place where hydrogen might make sense. The biggest problem with hydrogen is storage, but when you start talking about really large fuel tanks storing liquid hydrogen becomes a lot more practical. All of the hydrogen powered automobiles I've heard of rely either on high-pressure gas storage (requiring heavy tanks) or metal hydride storage (requiring heavy metal hydrides) which pretty much make them inferior to modern battery-electric vehicles.
Storing cryogenic liquid hydrogen doesn't have the same weight penalty, but has a huge volume penalty, plus it has the additional problem of keeping the hydrogen really cold until you're ready to use it. However, on a cargo ship, the large volume of the tank probably isn't a big restriction, and keeping the hydrogen cold enough is going to be a much smaller problem. That's because heat-loss is going to be proportional to the surface area of the tank, rather than the volume.
Hydrogen still suffers from energy loss at production. Hydrogen production by electrolysis is nowhere near 100% efficient, nor is turning the hydrogen back into motive power, either with internal combustion engines or with fuel cells.
On the flip side, I think as long as wind power makes up a substantial portion of electrical generation capacity, there will be times when the cost of electricity actually goes negative. If you can do most of the hydrogen production at times when electricity is really cheap, and you are planning to store it for relatively long periods of time anyway, then most or maybe even all of this overhead can be offset.