Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Captions plugin does not display subtitle at time zero

3 replies [Last post]
Reply

I am using the captions plugin to show some subtitles. Everything works correctly (including multiple languages), but somehow the plugin does not show the first phrase, which starts at time 0. It is something like:

1
00:00:00,000 --> 00:00:02,450
First phrase

All the other phrases show correctly at their due time. Any idea what causes this? It is rather annoying. Here is the code I use by the way:

<script type="text/javascript" src="jwplayer.js"></script>

<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
'flashplayer': 'player.swf',
'file': 'myvideo.mp4',
'image': 'myimage.jpg',
'height': '520',
'width': '640',
'plugins': {'captions-2': {
files: 'mysubs1.srt,mysubs2',
labels: 'English,EspaƱol'
}}
});
</script>

Reply

FYI I solved this by using another player.
http://mediaelementjs.com

Reply

Then I will fix this bug to ensure nobody else is moving to another player ;).

Reply

Fixed in the code; should be pushed shortly as part of our next plugins release.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options