Following a construction of Donagi-Markman in the case of Calabi-Yau threefolds, the variational Hodge problem for threefolds with globally generated canonical bundle will be recast in the language of symplectic geometry. Some examples and applications will be given.