Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios9无法播放 #14

Open
CatPolice opened this issue Nov 18, 2015 · 2 comments
Open

ios9无法播放 #14

CatPolice opened this issue Nov 18, 2015 · 2 comments

Comments

@CatPolice
Copy link

在ios9上无法播放网络视频 ?

@Zhengqi
Copy link

Zhengqi commented Nov 20, 2015

iOS9开始有ATS限制, 网络视频url请用https开头, 若想用http开头的url, 请参考: http://southpeak.github.io/blog/2015/09/14/app-transport-security-ats/

@bqlin
Copy link

bqlin commented Apr 27, 2016

在 info.plist 中加入

    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
      <true/>
    </dict>

即可。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants