autoplay audio too

This commit is contained in:
Sean Yesmunt 2020-02-05 15:46:44 -05:00
parent 21fe8acb2b
commit 9defd7cd22

View file

@ -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;
} }