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

Anyway to get this to run using Phonegap Serve? #23

Open
colinaut opened this issue Feb 23, 2016 · 2 comments
Open

Anyway to get this to run using Phonegap Serve? #23

colinaut opened this issue Feb 23, 2016 · 2 comments

Comments

@colinaut
Copy link

I've added this plugin for my app and successfully got this working using the iOS simulator. However if I try and run it via Phonegap Serve to test it using the PhoneGap Developer app it pops up with "Error: Can't find variable: YoutubeVideoPlayer". Not sure if I'm doing something wrong including it in my app or if there isn't a way to get it running it using Phonegap Serve.

p.s. the reason I'm testing this plugin out over just embedding an iFrame is that the embedded iFrame approach doesn't has the audio silent when the iPhone button is set to mute. Can you tell me if this plugin suffers the same issue?

@ronaldso55
Copy link

I am using this on Meteor and I also got this working using the iOS simulator. I believe I saw the same message as you do when I tested it on my iPhone via a Xcode build. I have also tried the iFrame API and it worked in browser mode but not in mobile mode. Can someone shed some light on why we are seeing this issue?

@MastaBaba
Copy link

@ronaldso55 How did you add this package to Meteor?

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