Skip to content

Commit

Permalink
fix(FEC-13954): when configuring share or download plugin, all player…
Browse files Browse the repository at this point in the history
… buttons are not accessiable (#25)

Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
  • Loading branch information
JonathanTGold and JonathanTGold authored May 23, 2024
1 parent 19b4c24 commit 61ad5a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/audio-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class AudioPlayer extends BasePlugin {
}

loadMedia(): void {
Object.keys(this.player.plugins).forEach((plgName: string) => {
if (plgName !== pluginName) this.availablePlugins.push(PluginsMetaData[plgName]);
Object.keys(PluginsMetaData).forEach((pluginId: string) => {
if(pluginId in this.player.plugins) this.availablePlugins.push(PluginsMetaData[pluginId]);
});
}

Expand Down

0 comments on commit 61ad5a2

Please sign in to comment.