크롬 39.0.2171.65 m에서 테스트하였습니다.
HTML5 비디오 track 태그
HTML5 비디오 자막넣기

1 예시[편집]

<link href="http://vjs.zencdn.net/5.4.4/video-js.css" rel="stylesheet">
<script src="http://vjs.zencdn.net/5.4.4/video.js"></script>

<video class="video-js vjs-default-skin" controls preload="auto" width="400" height="300" data-setup="{}">
	<source src='https://upload.wikimedia.org/wikipedia/en/d/dc/Pac-Man_Atari_2600_footage.ogv' type='video/ogg' />
	<track kind="subtitles" srclang="en" label="English" src="pacman-en.vtt" />
	<track kind="subtitles" srclang="ko" label="Korean" src="pacman-ko.vtt" default />
</video>

2 vtt 파일[편집]

pacman-en.vtt
WEBVTT FILE

1
00:00:00.000 --> 00:00:02.000
Pacman Hello~

2
00:00:02.000 --> 00:00:04.000
Pacman World~

3
00:00:05.000 --> 00:00:06.000
Pacman The End
pacman-ko.vtt
WEBVTT FILE

1
00:00:00.000 --> 00:00:02.000
팩맨 안녕~

2
00:00:02.000 --> 00:00:04.000
팩맨 친구들~

3
00:00:05.000 --> 00:00:06.000
팩맨 The End

3 같이 보기[편집]

4 참고 자료[편집]