Radko Gudas added a goal for the Flyers, who snapped a four-game losing streak.
Flyers goaltender Carter Hart, one of the most highly touted prospects in the organization, made his NHL debut with 20 saves. Hart became Philadelphia's sixth different starting goaltender through the first 32 games to set a league record.
It was the first game for the struggling Flyers since the dismissal of head coach Dave Hakstol. Scott Gordon was named the interim head coach for the remainder of the season.
Dennis Cholowski and Jacob de la Rose each scored a goal for the Red Wings.
Detroit goaltender Jonathan Bernier received the start and made 30 saves after Jimmy Howard appeared to get injured during warmups.
The Flyers got on the board first when van Riemsdyk scored at 18:33 of the first period on a redirection in front.
Bernier kept Detroit within one goal as he made 10 saves in the opening 20 minutes.
Cholowski tied the game at 1 on the power play at 4:12 of the second.
When Gostisbehere connected at 15:17 of the second, the Flyers opened a two-goal edge. Michael Raffl skated in and sent a crisp pass to Gostisbehere, who converted for what would be the winning goal.
The Red Wings got within 3-2 at 2:00 of the third when de la Rose scored his second goal of the season.
The game remained tight the rest of the way, and Detroit pulled Bernier with slightly less than two minutes remaining. However, the Red Wings were unable to capitalize, and the Flyers held on for the victory.
--Field Level Media
(This story has not been edited by Devdiscourse staff and is auto-generated from a syndicated feed.)