![](https://secure.gravatar.com/avatar/167abb17ea8a6188a45e6173169bd55f?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Automatic type detection by MIME-type instead of file extension?
I'm using JW player 6 with the javascript api to play video files from our Sitecore CMS. This CMS serves all media with the extension .ashx from it's database, but with the correct MIME-types in the HTTP-header. JW player however fails to detect the correct media type, resulting in an error message instead of my video.
In JW player 5 I could force the media type to 'video' by using the 'provider' option, but this option isn't available in version 6 anymore. I tried using a playlist and the 'type' option there, but I'm getting JS errors in my console and still no video.
Could you somehow try to detect the media type from MIME-type instead of file extension or do you have another solution for me?