Skip to content

Commit

Permalink
Added reload API function
Browse files Browse the repository at this point in the history
  • Loading branch information
SvenTiigi committed Oct 7, 2023
1 parent 73fa554 commit 878d26a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/API/YouTubePlayer+ConfigurationAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,11 @@ public extension YouTubePlayer {
}
}

/// Reloads the YouTubePlayer.
func reload() {
self.update(
configuration: self.configuration
)
}

}

0 comments on commit 878d26a

Please sign in to comment.