Skip to content

Tag: react-player

Adding subtitles in React Player?

i am trying to add subtitles in React Player component , Here is the code for react player component i cant understand what i am doing wrong as they are not appearing on the video. kindly help Answer Create a State for an array For your subtitles yout captions_arr should have objects like this Extract the par…