Newly surfaced video shows the grandfather of 18-month-old Chloe Wiegand pop his head out of a cruise-ship window and then dangle her over its ledge — contradicting his claim that he didn’t know the window was open before she fell to her death, new court papers allege.

The stunning video shows grandfather Salvatore Anello, clad in a dark shirt, put his head out the window for 8 seconds before picking up Chloe in her white sunhat from the floor, according to court papers filed by Royal Caribbean in a bid to dismiss the Wiegand family’s lawsuit over the tot’s July death.

“When he arrives at the open window, and while Chloe is on the floor, Mr. Anello leans his upper-torso over the wooden railing and out of the window frame for approximately eight seconds,” the papers say, according to WTHR. “Because Mr. Anello had himself leaned out the window, he was well aware that the window is open.”

Royal Caribbean said the video shows Anello then lifting his granddaughter “over the wooden rail to the open window,” holding her within danger’s reach “for approximately 34 seconds at which time she unfortunately fell.

“The only reasonable conclusion from the video is that Mr. Anello knew the window was open before picking up Chloe,” the court papers say. “He nonetheless lifted the child over the wooden rail and the open window for a considerable period, recklessly endangering her life. There was no ‘hidden danger’ — Mr. Anello knew the window was open.”

The tot’s family has taken legal action against the cruise line, arguing that the company failed to protect her and other vacationers from potentially dangerous open windows while the ship was docked in San Juan, Puerto Rico.

Anello has repeatedly denied knowing the window was open — insisting he picked up Chloe so she could bang on the glass as she would at her older brother’s hockey games.

A lawyer for the Wiegand family bashed the cruise line over the weekend for releasing the footage, claiming that the video released from the fatal episode was “deceptive,” WTHR reported.

“Royal Caribbean has premised its defense in this case and its blame on Chloe’s grandfather by supplying two deceptive views from its CCTV cameras to the court and the Puerto Rico authorities,” lawyer Jacqueline Garcel told the outlet in a statement.

Garcel said an inspection of the cruise ship Jan. 10 revealed that there were 13 cameras in the area of the incident.

She argues that the cruise line’s latest motion “neglects to tell the Court and, presumably, the authorities that there were no less than THIRTEEN CCTV video cameras in the area of the incident.

“The Wiegands will ask the Court to compel Royal Caribbean to produce all the video from those nearby cameras,” the statement said.

Anello also is facing criminal charges in Puerto Rico, where prosecutors have charged him with negligent homicide in the tot’s death.