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

Configuring IIS for captions. They work from apache.


I'm having trouble with my captions being on a different machine for mobile devices. I moved them to my IIS server so that I could see if it was an issue with the cross domain. But they won't load in the player from IIS. Here's what I've done.

<mimeMap fileExtension=".srt" mimeType="text/plain" />
<mimeMap fileExtension=".vtt" mimeType="text/plain" />

Here's the IIS file info where it doesn't load:
curl -I http://www.intelecomonline.net/INT_MCB1_01_003.srt
HTTP/1.1 200 OK
Content-Length: 1910
Content-Type: text/plain
Last-Modified: Mon, 07 Mar 2016 19:36:30 GMT
Accept-Ranges: bytes
ETag: "0f3aea5a878d11:0"
Server: Microsoft-IIS/8.0
X-Powered-By: ASP.NET
Access-Control-Allow-Origin: *
Date: Mon, 07 Mar 2016 20:38:22 GMT

Here's the Apache info where it is loading:
curl -I http://dma.iriseducation.org/intelecom_vl_captions/INT_MCB1_01_003.srt
HTTP/1.1 200 OK
Date: Mon, 07 Mar 2016 20:40:47 GMT
Server: Apache
X-Distributor: AHC
Last-Modified: Thu, 11 Feb 2016 00:08:55 GMT
ETag: "16000000bc4812-706-52b735b3a00c3"
Accept-Ranges: bytes
Content-Length: 1798
Content-Type: application/x-subrip

I did change my MIME Type on IIS to application/x-subrip but it didn't make a difference.

It's has to be something with my IIS configuration because I just change the caption URL and it works.

jwplayer("player").setup({
playlist: [
{
sources: [{
file: "http://media3.scctv.net:1935/intelecomreleases/_definst_/Mobile/smil:INT_MCB1_01_003_aligned_keyframes.smil/manifest.m3u8"
},{
file: "http://media3.scctv.net:1935/intelecomReleases/_definst_/Mobile/smil:INT_MCB1_01_003_aligned_keyframes.smil/jwplayer.smil"
}],
tracks: [{
file: "http://www.intelecomonline.net/INT_MCB1_01_003.srt",
kind: "captions",
default: "true"
}]

}
],
primary: 'flash',
fallback: true,
androidhls: true,
width: '50%',
aspectratio: "16:9"


});

Test player link:
http://www.intelecomonline.net/test_encodes_aligned_keyframes.aspx

Caption file link
http://www.intelecomonline.net/INT_MCB1_01_003.srt

Please let me know if you see something not right or if you have any suggestions on what to check on IIS.

Thanks,
Joel

2 Community Answers

Alex

JW Player Support Agent  
0 rated :

Hi, Joel.

I have already responded to your ticket opened via the Account Dashboard. Please look out for an email from us.

Thanks.

Jenny

User  
0 rated :

I was just looking at your Configuring IIS for captions. They work... | JW Player site and see that your website has the potential to become very popular. I just want to tell you, In case you didn't already know... There is a website network which already has more than 16 million users, and the majority of the users are looking for topics like yours. By getting your website on this service you have a chance to get your site more popular than you can imagine. It is free to sign up and you can find out more about it here: http://s.t0m-s.be/3A - Now, let me ask you... Do you need your site to be successful to maintain your business? Do you need targeted traffic who are interested in the services and products you offer? Are looking for exposure, to increase sales, and to quickly develop awareness for your site? If your answer is YES, you can achieve these things only if you get your website on the service I am talking about. This traffic network advertises you to thousands, while also giving you a chance to test the service before paying anything at all. All the popular blogs are using this network to boost their traffic and ad revenue! Why aren’t you? And what is better than traffic? It’s recurring traffic! That's how running a successful website works... Here's to your success! Find out more here: http://brt.st/57Dp

This question has received the maximum number of answers.