-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Allow user to disable video preview #406
base: main
Are you sure you want to change the base?
Conversation
82a1875
to
ed407ad
Compare
hasVideo: videoFiles.length > 0, | ||
}; | ||
}, [data?.media_files]); | ||
const [_showVideo, setShowVideo] = useState(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's please name the state variable consistent with the setter :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevertheless approved already :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm... just tested this and I get two competing audio streams playing at the same time, when disabling the video...
Also the original media is not used as fallback on videos, since it does not have the video tag. But I don't think the fallback is too important anyway. |
No description provided.