mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-09-01 09:45:10 +00:00
autoplay audio too
This commit is contained in:
parent
21fe8acb2b
commit
9defd7cd22
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ export const makeSelectNextUnplayedRecommended = (uri: string) =>
|
||||||
// We already check if it's a channel above
|
// We already check if it's a channel above
|
||||||
// $FlowFixMe
|
// $FlowFixMe
|
||||||
const isVideo = claim.value && claim.value.stream_type === 'video';
|
const isVideo = claim.value && claim.value.stream_type === 'video';
|
||||||
if (!isVideo) {
|
// $FlowFixMe
|
||||||
|
const isAudio = claim.value && claim.value.stream_type === 'audio';
|
||||||
|
if (!isVideo || !isAudio) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue