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

[CC] Can't control closed captions track #126

Closed JulienDev closed 3 months ago

JulienDev commented 3 months ago

Describe the bug Hello, I've noticed that we cannot control the closed captions track, and they are enabled by default. I want to clarify that I'm referring specifically to closed captions, not subtitles. I can share a link privately for you to test it yourself.

Expected behavior Ideally, we should be able to choose which track to use, or, if that’s too complex, it would be helpful to disable closed captions by default.

wang-bin commented 3 months ago

You can share your link via email.

Choosing cc track is not supported. To disable cc, If you are using video_player

registerWith(options: {
  'player': {
      'cc': '0'
  }
});

if you are using backend api, player.setProperty('cc', '0');

JulienDev commented 3 months ago

Tested, working! Thank you!