Subtitles do not appear in HTML5 video tag

0

Hello, I'm creating a movie system and I wanted to put subtitles in English movies but for some reason they do not appear and when I activate them and click the button it disappears and subtitles do not appear. I have a .vtt file with the same ones:

1
00:00:26,460 --> 00:00:30,434
Boa noite, senhoras e senhores.
Estamos prestes a aterrar em Seattle.

2
00:00:30,464 --> 00:00:33,270
Está bom tempo, com vento de leste.

3
00:00:33,300 --> 00:00:36,440
A temperatura no solo é de 20 graus

4
00:00:36,470 --> 00:00:39,347
Em nome da tripulação,
na cabina e no cockpit,

HTML code:

<video width="1020" height="640" controls>
      <source src="Rings.mp4" type="video/mp4">
      <track label="Português" kind="subtitles" srclang="pt" src="Rings.vtt">
    Your browser does not support the video tag.
    </video>

Does anyone know what the problem is?

    
asked by anonymous 18.12.2018 / 15:55

0 answers