Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

cannot load m3u8: crossdomain access denied & crossdomain.xml setup


Hi
i have jw player ads version, i want to show this stream link in my website:

http://63.237.48.28/ios/ONYX/ONYX.m3u8

but i receive this error : cannot load m3u8: crossdomain access denied


as far as i know, i have to adjust crossdomain xml file to put in my server, but unfortunately i dont know anything about it and i dont know how can make it, Pleas describe me simply about the procedure of setting and activation of crossdomain file.


Regards

2 Community Answers

Donni

JW Player Support Agent  
0 rated :

This is outside the scope of our support. I would advise you to partner with a web developer in order to accomplish this task. If you’d like to contact us directly about this, send a ticket via the JW Dashboard from your Ads account.

w...

User  
0 rated :

Hey Alex. I don't work for JWPLayer, but you can do something like this - create a file called crossdomain.xml
Edit it's content so it is like so:

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="yourdomain.com" />
<allow-access-from domain="anotherdomain.com" />
</cross-domain-policy>

Replace "yourdomain.com" and "anotherdomain.com" with the names of domains that you want to be able to access the file from. You can also use a wildcard character (*), but it means that anyone from any domain can access that content.

Upload this file to the root directory of the server your content lives on, so it can be accessed at http://63.237.48.28/crossdomain.xml

Note that this will only work with the flash player, not the html5 player.

Hope it helps

This question has received the maximum number of answers.