<video controlsList="nodownload" width="1000" poster ="videoName.jpg" controls >
<source src="videoName.mp4" type="video/mp4">
<track src="videoName.vtt" kind="subtitles" srclang="ko" label="Korea" default>
<track src="videoName.vtt" kind="subtitles" srclang="en" label="English" default>
</video>
I wrote down the video tag as above. Everything works well, but the subtitles don't work on the full screen on the mobile. Is there a way to show subtitles on mobile?
html video
If you want to unify your video experience on mobile and PC, you should think about introducing the player framework. VideoJS There is a good open source, so try it.
http://www.iandevlin.com/html5test/webvtt/html5-video-webvtt-sample.html
I think I can see this example well. I tested it on my iPhone. Haha
© 2024 OneMinuteCode. All rights reserved.