Skip to content
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

give instructions how to play unsupported video formats #1941

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Conversation

r10s
Copy link
Member

@r10s r10s commented Oct 25, 2023

this first commit reduces unneeded code complexity and removes one full message-db load.

the second commit shows an alert with instructions in case a video-preview could not be generated (with high chance, also Preview will fail to play the file)

closes #1909

of course, this can be improved further, however, regarding that .webm video is not an officially supported format, this seems good enough and already a good improvement, giving the ppl an idea how to play that at all (it was not even clear to me :)

@r10s r10s force-pushed the show-video-error branch 3 times, most recently from 6e66dd1 to bbc3252 Compare October 26, 2023 09:41
reduce code complexity
and save one message load from database
@r10s r10s marked this pull request as ready for review October 26, 2023 10:03
@r10s r10s requested a review from adbenitez October 26, 2023 10:03
…preview (with high chance, Preview won't be able to play it)
@r10s r10s changed the title better hilite unsupported video formats give instructions how to play unsupported video formats Oct 26, 2023
Copy link
Member

@adbenitez adbenitez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@r10s r10s merged commit 13e87d1 into master Oct 26, 2023
1 check passed
@r10s r10s deleted the show-video-error branch October 26, 2023 18:07
r10s added a commit that referenced this pull request Nov 23, 2023
the idea to show some additional information about how to play a video
in case the thumbnail could not be generated was good -
however, the detection was just wrong :)

this pr tracks correctly if a thumbnail is a real video thumbnail
or just a placeholder -
in the latter case, the information of #1941 is shown
r10s added a commit that referenced this pull request Nov 24, 2023
the idea to show some additional information about how to play a video
in case the thumbnail could not be generated was good -
however, the detection was just wrong :)

this pr tracks correctly if a thumbnail is a real video thumbnail
or just a placeholder -
in the latter case, the information of #1941 is shown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

no error message for unsupported video formats
2 participants