wang-bin / fvp

Flutter video player plugin for all desktop+mobile platforms. download prebuilt examples from github actions. https://pub.dev/packages/fvp
BSD 3-Clause "New" or "Revised" License
197 stars 31 forks source link

[Subtitles] Add Ability to Change Text Size #123

Closed JulienDev closed 2 months ago

JulienDev commented 3 months ago

Hello,

I tried to figure out how to change the subtitle text size, but I didn't find any way to do it. I also checked in libmdk, but it seems not supported. Could you please let me know how this can be achieved?

Thanks

wang-bin commented 3 months ago

yes, not supported yet

wang-bin commented 2 months ago

upgrade dependencies to support this feature, subtitle style can be set in registerWith https://github.com/wang-bin/mdk-sdk/wiki/Player-APIs#subtitle-properties

JulienDev commented 2 weeks ago

Hey @wang-bin, I can confirm it's working, however when I update the size while the video is playing, the text size doesn't change and I need to close and reopen the player. Is there a way to force the player to render subtitles with the updated configuration?

wang-bin commented 2 weeks ago

Upgrade dependency when this build is completed, then new style will be applied in the next frame

JulienDev commented 1 week ago

I confirm it's working 👑