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

playlist rss


Hy , how i make a playlist side bar with caption? Please whrite playlist details

10 Community Answers

Todd

JW Player Support Agent  
0 rated :

You need a playlist listing each video, and inside the brackets for each video, you need to specify the tracks for the the captions.

<div id='video'></div>

<br> <script type='text/javascript'> jwplayer('video').setup({ width: '800', height:'281', playlist: [{ file: "bunny.mp4", image: "bunny.jpg", title: "Big Buck Bunny trailer", tracks: [{ file: "captions.xml", label: "English", kind: "captions", "default": true }] },{ file: "sintel.mp4", image: "sintel.jpg", title: "Sintel trailer", tracks: [{ file: "captions.xml", label: "English", kind: "captions", "default": true }] }], listbar: { position: "right", size: '300' } }); </script>

Hope this helps,
Todd

djxray20

User  
0 rated :

Thank You. you help me. but i have another questions. hot to change the caption font?

Todd

JW Player Support Agent  
0 rated :

Yes, you can set some options in the player setup, as well as include other style options in the captions file itself. See this page for all the details:

http://support.jwplayer.com/customer/portal/articles/1482067-styling-captions-for-fcc-compliance

Hope this helps,
Todd

djxray20

User  
0 rated :

i dont no how to change caption font in playlist, i try but is not work. pls help me

Todd

JW Player Support Agent  
0 rated :

You have to add a font family key and value to the captions section of your setup:

<div id="video">Loading the player …</div> <script type="text/javascript"> jwplayer("video").setup({ file: "http://tpmpd.edgesuite.net/mm/flvmedia/2448/t/p/w/tp_what20140202_MP4_Widescreen_1024x5761999kbps_tp-2072739.mp4?cid=2448&aid=2072739&afid=3850987", width: "500", aspectratio: "16:9", tracks: [{ file: "captions.xml", kind: "captions", default: true }], captions: { color: '#006600', fontSize: 24, fontfamily: 'Lucida Grande, Times, Times New Roman, serif' } }); </script>

djxray20

User  
0 rated :

thanl you , you are the great

djxray20

User  
0 rated :

<div id="video">&nbsp;</div>

<p><br />
<script type='text/javascript'>
jwplayer('video').setup({ width: '1050', height:'550',
playlist: [
{ file: "/episode_10495.mp4", image: "/ep10495.jpg", title: "Episodul 02", tracks: [{ file: "/SubS/AgentsofSHIELD/Agents.of.S.H.I.E.L.D.S01E22.srt", label: "Romana", kind: "captions", "default": true }] },
{ file: "/episode_3874.mp4", image: "/ep3874.jpg", title: "Episodul 01", tracks: [{ file: "/SubS/AgentsofSHIELD/Agents.of.S.H.I.E.L.D.S01E01.srt", label: "Romana", kind: "captions", "default": true }] }],
listbar: { position: "right", size: '240' } }); </script></p>

here where i must to whrite fontSize: 24?

Todd

JW Player Support Agent  
0 rated :

You would need to add a new captions: {} section after listbar:

<div id="video"> </div>

<br /> <script type='text/javascript'> jwplayer('video').setup({ width: '1050', height:'550', playlist: [{ file: "/episode_10495.mp4", image: "/ep10495.jpg", title: "Episodul 02", tracks: [{ file: "/SubS/AgentsofSHIELD/Agents.of.S.H.I.E.L.D.S01E22.srt", label: "Romana", kind: "captions", "default": true }]},{ file: "/episode_3874.mp4", image: "/ep3874.jpg", title: "Episodul 01", tracks: [{ file: "/SubS/AgentsofSHIELD/Agents.of.S.H.I.E.L.D.S01E01.srt", label: "Romana", kind: "captions", "default": true }] }], listbar: { position: "right", size: '240' }, captions: { fontSize: 24 } }); </script>

djxray20

User  
0 rated :

thaks but i have a last questions. how to read unicod like ã,
î ,â? i dont see the code on http://support.jwplayer.com/customer/portal/articles/1482067-styling-captions-for-fcc-compliance

Todd

JW Player Support Agent  
0 rated :

Inside your captions file, you would need to use the Unicode character codes for each letter. See http://www.periodni.com/unicode_utf-8_encoding.html for a list of the characters to include.

This question has received the maximum number of answers.