오디오 또는 비디오 스트림의 재생 위치를 표시하고 제어하기 위해 설계된 플러터 위젯입니다. 미디어 콘텐츠 내에서 탐색할 수 있도록 상호작용 가능한 시각적 진행 막대를 제공합니다. 사용자 정의가 가능하며 모바일, 웹, 데스크톱 등 여러 플랫폼에서 작동합니다. 오디오 및 비디오 플레이어와 원활하게 통합되어 재생 중 매끄러운 사용자 경험을 제공합니다.
사용 사례
미디어 플레이어 인터페이스
비디오 타임라인 탐색
오디오 트랙 위치 지정
인터랙티브 미디어 제어
스트리밍 애플리케이션 UI
라이브 오디오/비디오 재생
주요 기능
이동 가능한 프로그레스 바
크로스 플랫폼 호환성
사용자 정의 스타일
실시간 재생 피드백
오디오 및 비디오 지원
반응형 터치 상호작용
적합한 대상
미디어 앱을 개발하는 개발자
인터랙티브 진행률 표시기가 필요한 UI 디자이너
정밀한 미디어 제어가 필요한 앱
크로스 플랫폼 오디오/비디오 애플리케이션
교육 또는 엔터테인먼트 스트리밍 플랫폼
고려 사항
미디어 플레이어와의 통합이 필요합니다
재생 위치 제어에 한정
추가 상태 관리가 필요할 수 있습니다
비미디어 사용 사례에는 적합하지 않습니다
외부 미디어 처리 로직에 의존합니다
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
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.