Hundreds of mourners attended the funeral of a Palestinian journalist killed in Gaza while covering mass protests along the Israeli border.

Yasser Murtaja died from a gunshot wound he sustained while filming in an area engulfed in thick black smoke after protesters set tyres on fire.

Israeli troops opened fire from across the border, killing at least nine Palestinians and wounding 491 others in the second mass border protest in eight days.

The deaths brought to at least 31 the number of Palestinians killed by Israeli fire since last week. The border area appeared calm Saturday.

Photos showed Murtaja lying wounded on a stretcher wearing a blue protective vest marked "PRESS" in large black capital letters.

Mourners, among them many journalists, attended his funeral in which his body was covered with a Palestinian flag and his press jacket laid beside him on the stretcher as it was carried through the streets of Gaza City to his home for a last farewell.

Jeremy Corbyn condemned the killings as an "outrage" and attacked Western "silence" about the deaths.

In a message read out at a demonstration outside Downing Street, the Labour leader demanded Theresa May support the United Nation’s call for an independent international inquiry.

Witnesses said Murtaja was more than 100 metres from the border, wearing a flak jacket marked "press" and holding his camera when he was shot in an exposed area just below the armpit.

Major clashes at Gaza-Israel border with Palestinians killed in the violence

The Israeli military has said it fired only at "instigators" involved in attacks on soldiers and was investigating Murtaja's death amid a hectic environment.

"The IDF (Israeli Defense Forces) uses means such as warnings, riot dispersal means, and as a last resort firing live rounds in a precise, measured way," it said. "The IDF does not intentionally target journalists. The circumstances in which journalists were allegedly hit by IDF fire are not familiar to the IDF, and are being looked into."

Hamas, which has ruled Gaza since a 2007 takeover and calls for Israel's destruction, has called for a series of protests until 15 May, the anniversary of Israel's founding when Palestinians commemorate their mass uprooting during the 1948 war over Israel's creation.

The Islamic group hopes the mass protests can create pressure to break a border blockade enforced by Israel and Egypt since 2007, without having to succumb to demands that it disarm. The blockade has made it increasingly difficult for Hamas to govern. It has also devastated Gaza's economy, made it virtually impossible for people to enter and exit the territory, and left residents with just a few hours of electricity a day.

Israel argues that Hamas could have ended the suffering of Gaza's two million people by disarming and renouncing violence.

It claims Hamas is exploiting the mass marches as a cover for attacking the border fence, and has vowed to prevent a breach at all costs. The military said that on Friday, protesters hurled several explosive devices and firebombs, using the thick plumes of smoke from burning tyres as cover, and that several attempts to cross the fence were thwarted.

Colleagues said Murtaja was not affiliated with Hamas or any other militant group, and there were no Hamas symbols normally seen at the funerals for militants.

In an apparent sign of solidarity, Hamas chief Ismail Haniyeh attended the funeral Saturday.

Gaza blackout Show all 10 1 /10 Gaza blackout Gaza blackout A Palestinian man works at his workshop as he fixes mobile power generators in Gaza City, July 9, 2017. REUTERS Gaza blackout Palestinians pray in a makeshift mosque lit by battery-powered lights during a power cut in Gaza City, July 18, 2017. REUTERS Gaza blackout A Palestinian vendor sells fruits and vegetables during a power cut in a makeshift shop lit by battery-powered light in Beit Lahiya town, in the northern Gaza Strip, July 13, 2017. REUTERS Gaza blackout A Palestinian woman is seen from the window of her kitchen as she uses a candle light to prepare food during a power cut in Beit Lahiya town, in the northern Gaza Strip, July 13, 2017. REUTERS Gaza blackout Buildings are seen at night in Gaza City, July 18, 2017. REUTERS Gaza blackout Buildings are seen at night during a power cut in Gaza City, July 18 REUTERS Gaza blackout A Palestinian woman washes dishes in her kitchen as she uses a candle light during a power cut in Beit Lahiya town, in the northern Gaza Strip, July 13, 2017. REUTERS Gaza blackout Members of a Palestinian family prepare food on a fire on a beach during a power cut in the northern Gaza Strip, July 12, 2017. REUTERS Gaza blackout Palestinians make food during a hot weather on a beach during a power cut in the northern Gaza Strip, July 12, 2017 REUTERS Gaza blackout A Palestinian woman holds her child as she walks out of her house lit by a torch during a power cut in Khan Younis, in the southern Gaza Strip, July 3, 2017. REUTERS

"The Return March is a battle of truth and awareness," Haniyeh said of the protests. "Yasser held his camera to direct the arrows of truth to convey the image of the besieged people."

The drone he had used for shooting footage of Gaza hovered above to film his funeral. Dozens of his close friends and colleagues were sobbing after the coffin was taken out of the morgue.

Murtaja, 30, was the co-founder of Ain media, a local TV production company that has done projects, including aerial drone video, for foreign media clients such as the BBC and Al Jazeera English. He was one of the first to bring a drone camera into Gaza and his images captivated many of its residents who have never seen Gaza from above since it has no airport or skyscrapers.

His death, along with the other recent casualties, seemed likely to draw renewed criticism from rights groups that have branded Israel's open-fire orders on the border as unlawful, after Israel's defense minister warned that those approaching the fence were risking their lives.

Three other journalists sustained tear gas injuries and at least one cameraman a gunshot in his leg, health ministry and media activists reported.

AIDA, a network of more than 70 non-government organisations operating in the Palestinian territories, condemned what they called "the unlawful killing of civilians" on Friday. It follows accusations from the UN's human rights office that it has indications of Israeli forces using "excessive force" the previous week.

The European Union said Friday's violence "raises serious questions about the proportionate use of force which must be addressed."

Witnesses described the area in which Murtaja and others were shot as a chaotic scene in which protesters torched large piles of tyres, engulfing the area in black smoke that was meant to shield them from Israeli snipers. Footage showed that visibility was limited and the faces of some of the activists were covered with black soot.

Israeli troops on the other side of the fence responded with tear gas, rubber-coated steel pellets and water cannons, as well as occasional live fire. Footage taken of the wounded journalist shortly after he was shot shows medics frantically bandaging his chest and trying to connect an IV drip. Murtaja himself is seen moving his head from side to side and talking to those around him before he is placed on a stretcher and taken to an ambulance.

Just two weeks ago, Murtaja posted a drone photo of Gaza's seaport at sunset on his Facebook page with the following caption: "I wished I could take this photo from the sky, not from land. My name is Yasser Murtaja, I am 30 years old. I live in Gaza City. I have never traveled."

Friends say it reflected his greatest wish — to escape Gaza's isolation.

Hana Awad, his colleague and close friend, said he had long dreamt of travelling and was recently granted an Al Jazeera scholarship for training in Doha. She described him as active and friendly and not at all interested in politics.

"We didn't know his political views, he was passionate about his job and wanted to travel and learn," she said of Murtaja, who was the father of a two-year-old boy.