R
R
rubtsoff2015-12-13 21:34:55
Adobe Flash
rubtsoff, 2015-12-13 21:34:55

How to bypass crossdomain?

there is a .m3u8 streaming stream, and the uppod hls player asks for crossdomain.xml during playback and does not read the stream
on the streaming server, there is no such file at all, I don’t have access to streaming ftp
in the vlc player, the stream works how to solve this problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
D', 2015-12-13
@Denormalization

No way. That's why CORS was invented.

A
Artem Spiridonov, 2015-12-13
@customtema

Put in the site root (Document Root) the crossdomain.xml file with the content:

<?xml version="1.0" encoding="UTF-8"?>
<cross-domain-policy>
    <allow-access-from domain="*" />
</cross-domain-policy>

Z
Zakharov Alexander, 2015-12-14
@AlexZaharow

In principle CORS can be used to connect to an external/third party domain. When it comes to ajax requests, before making the main request, the browser makes a preliminary OPTIONS, in response to which the third-party server says whether it allows such a download. If a positive response is received to an OPTIONS request, then the browser makes a full-fledged request with all the parameters:
OPTIONS:
POST:
The only thing I don't know is how requests from flash are processed. Maybe like ajax requests, but maybe not. Install fiddler and trace flash requests. If flash makes an OPTIONS request, there is a chance that you will be able to load information from a third-party server into flash.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question