So, I’m trying to load an HLS stream from wowza into jwplayer6, the m3u8 file exists, works – you can load it with VLC and play the stream fine. WHen trying to load from the flash player however, the request fails with the Access-Control-Allow-Origin error.
XMLHttpRequest cannot load http://stream.mydomain.com:1935/vod/mp4:/path/to/working/video.mp4/playlist.m3u8. Origin http://members.domain.com is not allowed by Access-Control-Allow-Origin.
Is there a way to modify the header that wowza sends to add one for:
Access-Control-Allow-Origin: *.domain.com
Since the player seems to be ignoring the crossdomain.xml files?
It seems that somebody has done it here, but I am not sure how to replicate this:
You do need app instance when there is a path to content, and remove the forward slash after the mp4: prefix. These might be the only problems. Like this:
You do need app instance when there is a path to content, and remove the forward slash after the mp4: prefix. These might be the only problems. Like this:
Are you trying to run JW Player in iOS device, is that where you are getting these errors?
Richard
JW6 premium yes, in flash player in the browser. It works fine on IOS, if I grab the m3u8 path, it works in VLC player too. The issue is in flash, the m3u8 is on a different subdomain and the request to retreive it gets declind because the cross domain header is missing (even though the crossdomain.xml file is there).