PHILADELPHIA — Sidelined two weeks because of COVID-19 protocols, Claude Giroux had enough of watching Flyers games on TV.

“It's not that fun watching the guys play when you’re at home," he said.

Giroux made it fun playing with the Flyers. His 903rd career game tied him with Bill Barber for most in the regular season with Philadelphia. He also had three assists in his return from a coronavirus absence to lead the Flyers over the New York Rangers 4-3 on Wednesday night.

“Surprised would be an understatement,” coach Alain Vigneault said. “I didn’t really know what to expect, but you could tell early on he had his game tonight.”

Giroux, who played his first game since Feb. 7, led the Flyers with eight shots on goal, 12 total shot attempts, three points and was 8 of 11 on faceoffs.

“This was one of his better games all year,” Vigneault said.

James van Riemsdyk and Shayne Gostisbehere each scored a power-play goal for the Flyers, who are 0-3-2 against Boston and 9-1-1 versus the rest of the East Division.

Chris Kreider scored a hat trick for the Rangers on three tap-ins in front.

“He’s a huge part of our team He got rewarded tonight," New York centre Mika Zibanejad said. “He works obviously incredibly hard and he goes to the net. He does an unbelievable job, probably one of the best guys in the league in front.”

Giroux, the Flyers' captain, sat out two weeks after testing positive for coronavirus and missed their loss Sunday to Boston at Lake Tahoe. But the 33-year-old played as though he never lost a step during his layoff and helped set up goals for Erik Gustafsson and Gostisbehere in the first period to give Philadelphia a 2-1 lead.

“I wasn’t thinking too much out there,” Giroux said. “Just playing the game and having fun.”

The Flyers counted on a return home to steady the team after they were humbled in a 7-3 loss to the Bruins and had dropped four of five overall. Carter Hart allowed six goals on 23 shots in the first two periods against Boston and hit the bench Wednesday night. Brian Elliott stopped 24 shots for the Flyers, who start a rugged stretch Saturday of six games in nine days — including three straight games at Pittsburgh.

Philadelphia also played again without Jakub Voracek, Travis Konecny, Oskar Lindblom and Scott Laughton because of COVID protocols, while the Rangers had the same issue with K’Andre Miller and Kaapo Kakko.

“We’d love to have all of our guys healthy and ready to go,” Rangers coach David Quinn said before the game. “We’re no different than most teams in the league. We don’t have that luxury right now.”

The Flyers got an NHL-high seventh power-play goal of the season from van Riemsdyk to make it 3-1 early in the second. Giroux hit Kevin Hayes, who went top shelf against Igor Shesterkin to make it 4-2 late in the second.

The Rangers posted video of Kreider playing the piano and then watched him hit all the right notes in his third career hat trick and first since December 2016.

Kreider’s first two goals were on the power play and his third one (eighth of the season) made it 4-3.

“The effort was there, no question," he said.

LEAVE OF ABSENCE

The Rangers played without star winger Artemi Panarin, on a leave of absence for personal reasons. Panarin’s former KHL coach levied abusive allegations against Panarin. He has denied the accusations and believed the KHL coach made the claim because Panarin has been outspoken about Russian President Vladimir Putin.

Quinn said he was “very, very confident” Panarin would be cleared and could soon rejoin the Rangers.

IRON MAN

Flyers D Ivan Provorov set the NHL record for the most consecutive games played by a defenceman from the start of a career for the same team with 331. Former New York Ranger Dan Girardi held the mark at 330.

UP NEXT

The Rangers host Boston on Friday and Sunday.

The Flyers play Saturday and Sunday at Buffalo.

___

More AP NHL: https://apnews.com/hub/NHL and https://twitter.com/AP_Sports