plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[video_player_avplay] Add subtitle attributes which include type,startTime, stopTime and value to subtitle callback

Open gin7773 opened this issue 11 months ago • 2 comments

Main changes:

  • Upgrade native player.
    1. [PLAYER]Add definitions of the subtitle attributes.
    2. [PLAYER]Receive and pass subtitle attributes of streaming to video player in subtitle callback.
  • Handle the subtitle attributes which include type, startTime, stopTime and value.
  • Pass subtitle attributes to VideoPlayerController.

gin7773 avatar Apr 16 '25 09:04 gin7773

If you have time, it would be good to apply this feature to the main.dart of the example to print the attribute of the subtitle. We are adding many interfaces of avplay, but there is not enough page or example to guide(and test) all of them.

JSUYA avatar Apr 17 '25 01:04 JSUYA

If you have time, it would be good to apply this feature to the main.dart of the example to print the attribute of the subtitle. We are adding many interfaces of avplay, but there is not enough page or example to guide(and test) all of them.

According to the requirement of the third-party, the TextStyle needs to be processed according to the subtitle attribute. So I will apply this feature to the main.dart after completing this requirement.

gin7773 avatar Apr 17 '25 05:04 gin7773