Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Issue-249 Visualize videos OT-496 #298

Merged
merged 4 commits into from Nov 28, 2019
Merged

Conversation

florianhaar
Copy link
Contributor

@florianhaar florianhaar commented Nov 22, 2019

Link to the given issue
#249

Describe what the problem was / what the new feature is
Videos were shown as generic attachments and it was not possible to see what a video is.

Describe your solution
Added a method to create a thumbnail of the video and show the duration on the image. A play icon shows that the image is a video.

Additional context

@florianhaar florianhaar added the warning Needs further actions label Nov 22, 2019
@Boehrsi Boehrsi removed the warning Needs further actions label Nov 25, 2019
@Boehrsi
Copy link
Collaborator

Boehrsi commented Nov 25, 2019

Removed the warning level as both Android and iOS implemented the native parts: coi-dev/flutter-deltachat-core@b88f4eb

@Boehrsi Boehrsi added the warning Needs further actions label Nov 25, 2019
@Boehrsi
Copy link
Collaborator

Boehrsi commented Nov 25, 2019

Re-added the warning label as it seems that some file formats are not well handled (no preview is generated). @florianhaar please update this ticket as soon as you have more information. If all issues are fixed please remove the warning label and ping me.

Boehrsi added a commit that referenced this pull request Nov 26, 2019
@Boehrsi
Copy link
Collaborator

Boehrsi commented Nov 26, 2019

As the core is already merged, but this PR needs some adjustments, I added 4092eb8 as temporary fix. This fix should get removed as soon as this PR is merged.

Copy link
Collaborator

@Boehrsi Boehrsi left a comment

Choose a reason for hiding this comment

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

I somehow have the feeling the video thumbnail logic should be in the BloC and not the UI.

@Boehrsi
Copy link
Collaborator

Boehrsi commented Nov 26, 2019

No change request, just some comments and potentially stuff for a followup ticket.

@florianhaar
Copy link
Contributor Author

Moved the loading logic to the MessageAttachmentBloc

@Boehrsi Boehrsi removed the warning Needs further actions label Nov 28, 2019
@Boehrsi Boehrsi merged commit 49570eb into develop Nov 28, 2019
@Boehrsi Boehrsi deleted the Issue-249_VisualizeVideos branch November 28, 2019 14:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants