A composition comprising a polymer that comprises oxidated hyaluronic acid cross-linked by a dihydrazide is disclosed. The polymer is a hydrogel exhibiting the following properties: a) transparent and colorless and b) transforming from a liquid state into a gel-matrix at 37° C. These characteristics make it useful as a vitreous humor substitute.