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

Display name of the audio file #230

Closed
SankethBK opened this issue Oct 6, 2024 · 2 comments · Fixed by #233
Closed

Display name of the audio file #230

SankethBK opened this issue Oct 6, 2024 · 2 comments · Fixed by #233
Assignees
Labels
enhancement New feature or improvement good first issue Good for newcomers ready for development There is a clear solution which can be implemented

Comments

@SankethBK
Copy link
Owner

SankethBK commented Oct 6, 2024

Currently, when an audio file is added to the rich text editor, the editor directly displays an audio player widget. We want to improve the user experience by showing the audio file name before the audio starts playing for the first time. Once the audio starts playing, the audio player widget should appear as usual.

Goal:

  • Display the file name of the audio in the initial state (i.e., before the audio starts playing for the first time).
  • Once the user starts playing the audio, switch to the audio player widget.
  • This behavior should mimic the functionality shown in the attached screenshots.

Screenshots for Reference:

Current behaviour

image

Initial state (showing file name):

image

Relevant widgets

- packages/flutter_quill/flutter_quill_extensions/lib/embeds/audio_player.dart
@SankethBK SankethBK added enhancement New feature or improvement good first issue Good for newcomers ready for development There is a clear solution which can be implemented labels Oct 6, 2024
@Prakharpan-dey
Copy link
Contributor

@SankethBK Hey i wanted to ask if this is what you wanted . If yes assign me this issue i will work on it. Thank you
Screenshot 2024-10-06 182741
Screenshot 2024-10-06 182751

@SankethBK
Copy link
Owner Author

Hey that's correct, you can keep the duration at the end, also clip the text if its more than 1 line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement good first issue Good for newcomers ready for development There is a clear solution which can be implemented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants