fix(OptionsMenu): disable external player buttons if stream is torrent

This commit is contained in:
Tim 2023-01-12 21:09:15 +01:00
parent 392c1f594e
commit 2d3d55c0bb

View file

@ -80,7 +80,7 @@ const OptionsMenu = ({ className, stream, playbackDevices }) => {
<div className={styles['label']}>Download Video</div>
</Button>
{
externalPlayers.map(({ id, name }) => (
!stream.infoHash && externalPlayers.map(({ id, name }) => (
<ExternalPlayerButton
key={id}
id={id}