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

Please help me with subtitles with player #256

Open
androrahul opened this issue Jan 5, 2024 · 0 comments
Open

Please help me with subtitles with player #256

androrahul opened this issue Jan 5, 2024 · 0 comments

Comments

@androrahul
Copy link

subtitle_wrapper_package: ^2.2.0

I have used above package to show subtitle:

Widget updateVideo(){ // return flickVideoPlayer!; return FlickVideoPlayer( flickManager: flickManager!, flickVideoWithControls: SubtitleWrapper( videoPlayerController: flickManager!.flickVideoManager!.videoPlayerController!, subtitleController: subtitleController!, subtitleStyle: SubtitleStyle( textColor: Colors.white, hasBorder: true, fontSize: 10.sp, position: const SubtitlePosition(bottom: 45)), videoChild: const FlickVideoWithControls( controls: FlickPortraitControls(), ), ), flickVideoWithControlsFullscreen: SubtitleWrapper( videoPlayerController: flickManager!.flickVideoManager!.videoPlayerController!, subtitleController: subtitleController!, subtitleStyle: SubtitleStyle( textColor: Colors.white, hasBorder: true, fontSize: 14.sp, position: const SubtitlePosition(bottom: 65)), videoChild: const FlickVideoWithControls( controls: FlickLandscapeControls(), videoFit: BoxFit.fitHeight, ), ), ); }

When I am switch to other video, subtitle remains same it not getting updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant