YasKuraishi / YKMediaPlayerKit

Painlessly and natively play YouTube, Vimeo, and .MP4, .MOV, .MPV, .3GP videos and fetch thumbnails on your iOS devices.
MIT License
348 stars 54 forks source link

Vimeo video is not playing. #16

Open mbilal-mbt opened 8 years ago

mbilal-mbt commented 8 years ago

Really nice work you have done, I'm using it already, but when i start playing with Vimeo link, its just loading not playing but yeah I can see Vimeo thumbnail.

glitch182 commented 8 years ago

Are you using iOS 9?

mbilal-mbt commented 8 years ago

yes im using iOS9.

On Tue, Nov 17, 2015 at 7:25 PM, vishaluae notifications@github.com wrote:

Are you using iOS 9?

— Reply to this email directly or view it on GitHub https://github.com/YasKuraishi/YKMediaPlayerKit/issues/16#issuecomment-157385128 .

mbilal-mbt commented 8 years ago

Is that Vimeo problem is due to iOS9??

On Tue, Nov 17, 2015 at 9:09 PM, Muhammad Bilal mbilal.mbt@gmail.com wrote:

yes im using iOS9.

On Tue, Nov 17, 2015 at 7:25 PM, vishaluae notifications@github.com wrote:

Are you using iOS 9?

— Reply to this email directly or view it on GitHub https://github.com/YasKuraishi/YKMediaPlayerKit/issues/16#issuecomment-157385128 .

qasimsqm commented 8 years ago

It stopped working for me as well for iOS 7, 8 and 9. It stopped working when I updated my xcode to xcode 7. Even it is not giving thumbnail as well.

yageek commented 8 years ago

This is due to new iOS Network Security policy. Add this to your plist:

<key>NSAppTransportSecurity</key>
<dict>
  <!--Include to allow all connections (DANGER)-->
  <key>NSAllowsArbitraryLoads</key>
      <true/>
</dict>
YasKuraishi commented 8 years ago

thanks @yageek for the PR. Apologies for not being able to get back to it earlier.