CordovaYoutubeVideoPlayer
CordovaYoutubeVideoPlayer copied to clipboard
Anyway to get this to run using Phonegap Serve?
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?
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?
@ronaldso55 How did you add this package to Meteor?