Orientação gerada a partir de informações públicas. Apenas para referência.
Um widget do Flutter projetado para exibir e controlar a posição de reprodução de fluxos de áudio ou vídeo. Ele fornece uma barra de progresso visual que pode ser interagida para procurar conteúdo multimídia. O widget é personalizável e funciona em múltiplas plataformas, incluindo móvel, web e desktop. Integra-se perfeitamente com reprodutores de áudio e vídeo, oferecendo uma experiência do usuário suave durante a reprodução.
Casos de uso
Interfaces de player de mídia
Navegação pela linha do tempo do vídeo
Posicionamento da faixa de áudio
Controles de mídia interativa
Interfaces de aplicativos de streaming
Reprodução ao vivo de áudio/vídeo
Principais recursos
Barra de progresso navegável
Compatibilidade multiplataforma
Estilo personalizável
Feedback de reprodução em tempo real
Suporte para áudio e vídeo
Interação tátil responsiva
Indicado para
Desenvolvedores construindo aplicativos de mídia
Designers de UI que precisam de indicadores interativos de progresso
Aplicativos que exigem controle preciso de mídia
Aplicações de áudio/vídeo multiplataforma
plataformas de streaming educacional ou de entretenimento
Considerações
Requer integração com um player de mídia
Limitado ao controle da posição de reprodução
Pode ser necessário gerenciamento adicional de estado
Não adequado para casos de uso não-mídia
Depende da lógica externa de manipulação de mídia
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
audio_video_progress_bar
A progress bar widget to show or change the position of an audio or video stream.
Note: This package does not play audio or video itself. It's just a widget you can use to show the progress of your audio or video player. This widget is easier to connect to a media player than the Flutter Slider widget is. It also supports showing the buffered status for streamed media.
Example
Add the ProgressBar widget to your UI. A static example would look like this:
You can check out the GitHub repo for the full example using the just_audio plugin. There is no requirement to use just_audio or even a StreamBuilder, though. You can use any audio or video player that provides updates about the current play location. Just rebuild the ProgressBar widget with the new Duration states.
You'll probably want to add other buttons like start and pause, but these are not included with this package. They aren't hard to build, though, and you can find an example in the GitHub repo.
There are a number of interesting feature requests in the GitHub issues. Unfortunately, with the other projects I have going on, I generally don't get around to implementing very many of them. Your best bet is to copy the source code and implement the feature yourself. On the other hand, if the issue you is important enough to you or your company, I'm open to being hired to add your desired feature to this package or to create a custom solution.