mozilla / popcorn-js

The HTML5 Media Framework. (Unmaintained. See https://github.com/menismu/popcorn-js for activity)
MIT License
2.14k stars 632 forks source link

Does Popcorn.js work on iOS for Cordova/PhoneGap apps? #473

Closed cemerson closed 8 years ago

cemerson commented 8 years ago

I know there was an iOS related thread a few years ago but can someone chime in on whether or not the latest version of Popcorn.js does or doesn't work on iOS for Cordova/PhoneGap apps? I've got it working great for both YouTube and Vimeo videos when testing in Google Chrome, but when I run it through an iPad or iOS simulator Popcorn seems to go limp and do nothing after my video init call. For example my YouTube call: wrapper = Popcorn.HTMLYouTubeVideoElement( "#video_player" ); player = Popcorn( wrapper ); player.play();

One thing I can confirm up front is that this isn't a network/whitelist issue as I'm currently testing with the following setup there: `

`

Again - both YouTube and Vimeo work near flawlessly in Google Chrome so definitely seems to be something with Cordova/iOS? I'll report back with more details as I can gather any ... but thought I'd put out a feeler first as I keep banging my head on this one.

Thanks.

cemerson commented 8 years ago

FYI I think I've found something else that might do the job. However, there are some things about Popcorn.js that I really liked so if/when anyone has insight on my question/this topic please do chime in.