<script src="/videojs/video.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
VideoJS.setupAllWhenReady();
</script>
<link title="Video JS" href="/videojs/video-js.css" rel="stylesheet" type="text/css" media="screen" />
<div class="video-js-box">
<video width="720" height="406" class="video-js" id="example_video_1" preload="auto" controls="controls" class="video-js vjs-default-skin" data-setup="{}">
<source src="http://one2.kr:8080/rtmp/sub/nut720.mp4" type="video/mp4" />
<track kind="subtitles" src=http://one2.kr:8080/rtmp/sub/non-stop.srt srclang="ko" label="korean" />
<track kind="subtitles" src=http://one2.kr:8080/rtmp/sub/nut_eng.srt srclang="en" label="english" />
</video>
track kind 가 subtitles 로 주면 SRT 형식 자막을 주면되고,
track kind 가 captios 로 주면 VTT형식으로 주어야한다.
smi를 적절히 변환하여.