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.
wowza is on stream.domain.com.
The crossdomain.xml file (both at stream.mydomain.com/crossdomain.xml and stream.mydomain.com:1935/crossdomain.xml) allows *.domain.com, but when trying to load the playlist into the player, the crossdomain.xml request is ignored…
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:
or here:
Thanks