Eğer kendi player'ınız ile çalışıyorsanız basit bir şekilde mümkün;
Çalışan örneği buradan inceleyebilirsiniz:
http://www.longtailvideo.com/support...btitle-tracks/
Örnekte JW player kullanılmıştır. Birden fazla dilin altyazısı seçilebilir.
<div id="myElement"></div>
<script>
jwplayer("myElement").setup({
playlist: [{
image: "/uploads/myPoster.jpg",
file: "/uploads/myVideo.mp4",
tracks: [
{ file: "/uploads/myCaptionsEn.vtt", label: "English", kind: "subtitles" },
{ file: "/uploads/myCaptionsFa.vtt", label: "Farsi", kind: "subtitles" },
{ file: "/uploads/myCaptionsJa.vtt", label: "Japanese", kind: "subtitles" },
{ file: "/uploads/myCaptionsRu.vtt", label: "Russian", kind: "subtitles" }
]
}]
});
</script>Örnek vtt dosyası;
WEBVTT
00:00:12,000 --> 00:00:15,000
What brings you to the land
of the gatekeepers?
00:00:18,500 --> 00:00:20,500
I'm searching for someone.
00:00:36,500 --> 00:00:39,000
A dangerous quest for a lone hunter.
00:00:41,500 --> 00:00:44,000
I've been alone for as long
as I can remember.