![](https://secure.gravatar.com/avatar/c81e728d9d4c2f636f067f89cc14862c?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Caption not loading
i am working with jwplayer and vtt file caption format which uised m3u8 mp4 player to load the player.
however in network tab i am able to see the caption file and also getting 200 ok response but when i click on cc button then i am getting this error.
XMLHttpRequest cannot load the file <file name> origin is not allowed by Access-Control-Allow-Origin
CAPTIONS(Error loading file)
i am also allow this in crossdomain.xml but still getting this error