From 9defd7cd222bc6c45aca520ce946af72275dafa5 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 5 Feb 2020 15:46:44 -0500 Subject: [PATCH] autoplay audio too --- ui/redux/selectors/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/redux/selectors/content.js b/ui/redux/selectors/content.js index aed6daa9b..8f8af20b3 100644 --- a/ui/redux/selectors/content.js +++ b/ui/redux/selectors/content.js @@ -113,7 +113,9 @@ export const makeSelectNextUnplayedRecommended = (uri: string) => // We already check if it's a channel above // $FlowFixMe 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; }