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

Closed Caption not working on Wordpress even with Javascript


Is there any way to add subtitle with wordpress plugin?
i tried this :

[jwplayer file="URL.MP4" image="URL.PNG" plugins="captions" captions.file="URL.srt"]

Result : Player didnt show

then i tried with java script :

<div id='playerPmZpRFgrFnMq'></div>
<script type='text/javascript'>
jwplayer('playerPmZpRFgrFnMq').setup({
file: 'URL.mp4',
image: 'URL.png',
tracks: [{
file: 'URL.vvt',
label: 'English',
kind: 'captions',
'default': true
},{ file: 'URL.srt',
label: 'Indonesia',
kind: 'captions'
}]
});
</script>

Result :
The CC button is Show, the option also show (off,English,Indonesia) but CC text is not showing.

Note :
all URL is valid
crossdomain.xml is on my root

please help...

2 Community Answers

Todd

JW Player Support Agent  
0 rated :

Can you send a link to your test page? Are you seeing any errors in your browser’s Javascript console?

haowku813

User  
0 rated :

Problem solve with javascript, the issues is in the crossdomain.xml

but i wonder why does now jwplayer wordpress plugin dont support closed caption while the old jwplayer does?

i khow it was supported with the plugin coz i found some article on google that say its work on earlier version with the shotcode like this :

[jwplayer file"link" plugins="captions-1" captions.file="link"]

is there a plan to bring it back with the wordpress plugin? or it erased for good?

Thanks by the way

This question has received the maximum number of answers.