Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to add subtitles


This is my code:

<video
src="http://proxy-68.dailymotion.com/video/090/816/30618090_mp4_h264_aac.mp4?auth=1305652524-9285de6b6f6805b71d846f54baf33674"
height="330"
id="container"
poster="/thumbs/image.jpg"
width="550"
> </video>
<script type="text/javascript"> jwplayer("container").setup({ flashplayer: "/player/player.swf", skin: "newtube.zip"});
</script>

I have an xml for the subtitles but how do I put it into this code, I have been looking around and I haven't found the answer.

22 Community Answers

JW Player

User  
1 rated :

You could compile the video and the subtitles... making the subtitles part of the video.

For that I use AVIaddxsubs and it works... well... at least to watch on my ps3 and with .avi files :s

JW Player

User  
0 rated :

im pretty sure you can do it with jwplayer so I want to be able to do it with that. Does anyone now how to?

JW Player

User  
0 rated :

no worries I managed it ;)

Ethan Feldman

JW Player Support Agent  
0 rated :

http://www.longtailvideo.com/support/jw-player/22/making-video-accessible

JW Player

User  
0 rated :

How do I add Arabic subtitles. The characters appear as separate alphabets rather than joining together and forming words. is there some special tag to be added to xml file? please help me out with this.

Ethan Feldman

JW Player Support Agent  
0 rated :

If the files are in Arabic, the Captions plugin should still be able to support them jut fine.

JW Player

User  
0 rated :

No, it doesn't. I have my xml file in UTF-8 encoding. when i render the xml in the browser it displays proper Arabic words. But, when i use the same xml for the video, the words are all broken up. Can you give me an example where Arabic has been implemented in the captions. I love the JW Player and do not want to go any other player.

Ethan Feldman

JW Player Support Agent  
0 rated :

I don’t have an Arabic example. Do you have a link to where it isn’t working?

JW Player

User  
0 rated :

Thanks Ethan for your replies. You can checkout my work here:
http://goo.gl/g6Pyr

Ethan Feldman

JW Player Support Agent  
0 rated :

I see the Arabic captions here, and they look perfect.

JW Player

User  
0 rated :

Ethan the alphabets are coming separate. :(

the actual text should read as is visible in the html below the video from rtl.

Ethan Feldman

JW Player Support Agent  
0 rated :

For me is isn’t, want to see a screenshot?

JW Player

User  
0 rated :

yes please.

Ethan Feldman

JW Player Support Agent  
0 rated :

Sure, here – http://i50.tinypic.com/vh874o.png

JW Player

User  
0 rated :

Doesn't work for me. The subtitles are on the page, to the right of the video player, not on the video itself. This is the same in Chrome, FF, IE9 and Chrome. Strangely enough,the page doesn't even show up on Safari.

Ethan Feldman

JW Player Support Agent  
0 rated :

Strange, I definitely see them, and they look correct, per my screenshot.

JW Player

User  
0 rated :

Just checked again. Even tried IE in compatibility mode. Doesn't work in any of my browsers. The subtitles just appear on the page to the right of the video clip and are static.

Ethan Feldman

JW Player Support Agent  
0 rated :

Do you have a screenshot of this? You are clicking the CC button and turning them on right?

JW Player

User  
0 rated :

Ha ha. No I wasn't clicking the CC button. Didn't even see it there. Sorry mate. I'll go back to bed now. Must need more sleep.:)

Ethan Feldman

JW Player Support Agent  
0 rated :

Hehe :)

JW Player

User  
0 rated :

Thanks Ethan, but it doesn't seem to work on my browsers.
check it out : http://goo.gl/K2UP2
I don't understand why?? what could be the issue Ethan? any idea??

which version of FF are you using?

Ethan Feldman

JW Player Support Agent  
1 rated :

This link looks okay to me? I am using Firefox 13, Flash 11, Win7.

This question has received the maximum number of answers.