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

iOS 7 Airplay Bug? #2

Open
wootwoot1234 opened this issue Sep 19, 2013 · 6 comments
Open

iOS 7 Airplay Bug? #2

wootwoot1234 opened this issue Sep 19, 2013 · 6 comments
Assignees
Labels

Comments

@wootwoot1234
Copy link

I found a bug changes the width of the volume slider and slides it to the left. Also, the slider doesn't work correctly when the volume is all the way up and when you tap the right side of the slider, a select menu popups up listing the available airplay devices. To reproduce, you need to have airplay devices on your network then load an app using the volume slider plugin.

@ghost ghost assigned devgeeks Sep 19, 2013
@devgeeks
Copy link
Owner

I have yet to attempt to update this for iOS (or even for PhoneGap/Cordova 3.x.x).

It might be an easy fix, I will try and have a look soon.

@wootwoot1234
Copy link
Author

Cool. Thanks.

I'm having trouble reproducing the bug. When it does show up, the select menu has two options "iPhone" and "iPhone Speaker". Not sure if that's airplay or not.

@ginsleepy
Copy link

Hi I'm having a problem on iOS7/cordova 3.4.1 when I try to hide a slider.

@ginsleepy
Copy link

I get this THREAD WARNING: ['VolumeSlider'] took '72.870850' ms. Plugin should use a background thread. I don't know if what is causing a problem.

@ginsleepy
Copy link

Sorry I just found out that I was posting in a wrong thread.. Anyhow, this method worked fine on both showing and hiding. thanks :) cordova.exec(null, null, "VolumeSlider","showVolumeSlider", []);

@vjanssens
Copy link

Hi guys,

Sorry if i'm bringing up an old thread but i'm facing the same issue and have some insight about it. WootWoot's problem is probably because his volume slider is on a white background. A white image to the right of the slider shows a Airplay button, that's why, if you press it, a pop-up appears. And ofcourse a white image on a white background won't be visible..
Now is my question, is it possible to disable the airplay icon altogether? Even if a airplay compatible device is on the same network? I'm looking into it myself but maybe you have quick solution.

Thanks

EDIT: possible solution is to add the next line to VolumeSlider.m above r. 70:

self.myVolumeView.showsRouteButton = NO;

Maybe make this an option through the JS?

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

No branches or pull requests

4 participants