I have a web server that has a number of links that are going to be embedded in a media player. I need the media player to reference the links to display certain information in the player (for example text). The file extension that a 3rd party program uses when it creates these files is .srt. However, if I try to reference a URL with the .srt extension (e.g.
http://link.mysite.com/testfile.srt)
, the file will not load. However, if I take that same file and rename the extension to .txt (e.g.
http://link.mysite.com/testfile.txt)
, the file reads fine. Is there a way I can get my web server to recognize .srt files as .txt files. The reason why this is important is that the code is already built for the media player.
Start Free Trial