mangui / flashls

HLS Flash Plugin/Player (Chromeless,OSMF,FlowPlayer,mediaelement.js,video.js,Clappr)
http://www.flashls.org
Mozilla Public License 2.0
751 stars 264 forks source link

Some m3u8 streams have Error #2032 #575

Closed beautylix closed 7 years ago

beautylix commented 7 years ago

Hello,

I downloaded codes from here, and used the example code of grindplayer, some works well, but some has Error #2032, for example, the radio stream url: http://ngcdn001.cnr.cn/live/zgzs/index.m3u8

I tested on your demo page, it did not work either, the url is : http://www.flashls.org/latest/examples/osmf/GrindPlayer.html?src=http%3A%2F%2Fngcdn001.cnr.cn%2Flive%2Fzgzs%2Findex.m3u8

However, I found a website using the same codes, but it works well, the website ishttps://www.hlsplayer.net/

I do not know how to fix, please help me out. thanks a lot

mangui commented 7 years ago

there is a crossdomain restriction, refer to http://www.adobe.com/devnet/adobe-media-server/articles/cross-domain-xml-for-streaming.html

it might work on HTML5 player but in that case you might have CORS restriction as well...