Results 1 to 4 of 4

Thread: cross domain failing on m3u8 HLS stream... but crossdomain.xml is there.

  1. #1
    Join Date
    Apr 2013
    Posts
    4

    Exclamation cross domain failing on m3u8 HLS stream... but crossdomain.xml is there.

    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:

    http://www.wowza.com/forums/showthre...1292#post81292

    or here:

    http://www.wowza.com/forums/showthre...043#post110043

    Thanks
    Last edited by cladmin; 04-08-2013 at 10:37 AM.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    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:

    http://stream.mydomain.com:1935/vod/_definst_/mp4:path/to/working/video.mp4/playlist.m3u8

    Are you using JW Player 6? Have you seen the example (first one) here:

    http://www.wowza.com/forums/content....a-Media-Server

    Are you trying to run JW Player in iOS device, is that where you are getting these errors?

    Richard

  3. #3
    Join Date
    Apr 2013
    Posts
    4

    Default

    Quote Originally Posted by rrlanham View Post
    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:

    http://stream.mydomain.com:1935/vod/_definst_/mp4:path/to/working/video.mp4/playlist.m3u8

    Are you using JW Player 6? Have you seen the example (first one) here:

    http://www.wowza.com/forums/content....a-Media-Server

    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).
    Last edited by cladmin; 04-08-2013 at 11:44 AM.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I'm not sure what you mean. Can you make it simpler? I have not had to do anything with crossdomain.xml to use HLS streaming in JW Player 6

    http://www.wowza.com/forums/content....a-Media-Server

    Richard

Similar Threads

  1. Http streaming using proxys, cross domain issues
    By qstream in forum General Forum
    Replies: 0
    Last Post: 03-21-2014, 02:48 AM
  2. Accessing Connection Count XML Information - Cross-Domain
    By davidlgood in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 5
    Last Post: 02-25-2013, 04:41 PM
  3. Crossdomain policy issue. Crossdomain.xml file doesn't reject connections
    By Andrey3k in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 1
    Last Post: 10-08-2012, 06:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •