Android Question SimpleExoPlayer full screen and get elapsed time.

ncgege

Member
Licensed User
Hello every one ,I am newer here ,and i have three questions ,any one can help me ,thanks.
1. how to full screen the SimpleExoPlayer.
2. here is a srt file ,can it work with SimpleExoPlayer. Can i get elapsed time of current video of SimpleExoPlayer by code ?
i want to show the words of srt into a label.
-----------------for example------------------------
1
00:00:02,900 --> 00:00:05,400
I stand before you not only as your Queen
------------------------------------------------------
when the video elapsed time between 00:00:02,900 and 00:00:05,400
the label will show the words: I stand before you not only as your Queen
3.How can i pick up one word of this sentence,such as i click the word Queen ,how can I get it by code.
If i don't understand the word "Queen" ,when i click the world it will translate it and show in another label.
because I can't get words from the video but i have the SRT file.
 

Attachments

  • upload_2019-11-7_20-52-26.png
    upload_2019-11-7_20-52-26.png
    507.2 KB · Views: 196
Last edited:

kisoft

Well-Known Member
Licensed User
Longtime User
Hi
I understand you have a big problem, but you didn't have to take the picture off the TV...
 
Upvote 0

ncgege

Member
Licensed User
Hi Erel, the srt can work with SimpleExoPlayer.
How can I get the elapsed time of current video,It's important to me.
or know which subtitle the video is displaying (by code)
----------------------------------------------------------------
AH, getCurrentPosition works.
 
Last edited:
Upvote 0
Top