I'm doing a website and I need to show a player and I came out with video.js but I have a question how can I put my subtitles showing up without the user needing to click on anything?
This is my code:
<video id="filme" class="video-js vjs-default-skin" controls preload="auto" width="100%" height="640" data-setup='{}'>
<source src="./video.mp4" type='video/mp4' />
<track kind="subtitles" src="./subs/subtitles.srt" srclang="pt" label="Português" default>
</video>
I hope you can help me.
Thanks in advance.