-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MM-54866 - Calls: Transcription support #7703
Conversation
@matthewbirtch Updated the compass icon, thanks. Here are a couple new screenshots:
|
Thanks Chris, the updated icon looks good. For the actual captions, do we have control over the style, size and position of the text? I had hoped we could do something like the below screenshots. From the screenshots you've shared above, the captions look like they will be hard to read. Figma What's possible here? Does the caption need to live within the video frame? |
@matthewbirtch Unfortunately we don't have control over the subtitles -- styling is only supported on android, and then only in the newest version of the video package (which is beta, so we shouldn't upgrade until it stabilizes). I'm pretty sure there's a way if we do our own native code for it, but that would take some time. |
Building app in separate branch. |
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.
Ok, so aside from the styling and position (which we can't do anything with), a few things I noticed:
- There may be a collision with the button that appears next to the CC button. When tapping the CC button, at times it seems to be actually be executing a download (since the download button is right next). Is it possible the download button has its hit area overlapping with the CC button somehow?
- It seems that apostrophe's aren't displaying properly in the captions (though they seem fine in the transcription file)
- On iOS, when I turn off the captions, it doesn't hide the captions immediately. It seems to wait until the next line of text to hide.
- On Android in landscape mode, it looks like the subtitles are getting cut off at the bottom
- For landscape mode in general (iOS and Android), is there any way to move the subtitles up a bit - the video player controls obscure it while they are showing.
@matthewbirtch Thanks for the feedback:
|
Building app in separate branch. |
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.
Thanks Chris. Looks like you've fixed the items you're able to. Not much we can do about the others by the sounds of it.
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.
Looks great, left some minor comments.
@cpoile Could you confirm whether the attached text transcript is previewable from Android? I had issues showing it but maybe it's my local setup at fault. |
@streamer45 oh yah, interesting, there's no inline view of the transcript text file. :/ |
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.
Approving, if we can fix the text preview great, otherwise let's file a ticket. Thanks!
Doesn't look like a quick fix, so filed: https://mattermost.atlassian.net/browse/MM-56365 |
* captions on videos from posts and searches * add the patch for react-native-video which fixes subtitle downloading * improve spacing * fix patch file * upgrade compass-icons; use cc icon * revert patch overwrite * fix patch * use useMemo * fix hitslops on pressables * use new Caption format; refactor for clarity * simplify tracks creation and use
@cpoile - Are you open to helping draft the product documentation for this functionality? |
* captions on videos from posts and searches * add the patch for react-native-video which fixes subtitle downloading * improve spacing * fix patch file * upgrade compass-icons; use cc icon * revert patch overwrite * fix patch * use useMemo * fix hitslops on pressables * use new Caption format; refactor for clarity * simplify tracks creation and use
Summary
NOTE: waiting on a UI element (the "cc" icon) to be added to compass-icons, that's why it's marked Do Not Merge. Otherwise, it's ready for review.Updated, can merge now. New screenshots in the thread.UX Note: the figma has the color of icons as greyish, but the icons currently are #fff, so I kept that (I didn't want to change all the icons in this PRs).
Ticket Link
Checklist
Have tested against the 5 core themes to ensure consistency between them.naDevice Information
Screenshots
Release Note