Page 1 of 1

Visibile/Hide Audio Component

Posted: Sun Aug 17, 2014 4:03 am
by Veronika

I am trying to add an audio file to my app. Audio is uploaded to my database and accessed with Audio component. I unchecked the visible box, as I do not want to see the audio player, and only have the file play when the app loads. I set the file to play using the following javascript:

Appery("AudioPlayer").get(0).play();

This works perfectly in the web tester. Problem is when I test using the appery mobile app, even though I have uncheck the visible box, I still see the play button and progress bar as the file is playing on my app?

Any idea why this is, and/or how I can hide it?


Visibile/Hide Audio Component

Posted: Sun Aug 17, 2014 5:00 am
by Alena Prykhodko

Hello Veronika,

Please provide us with a public app link (http://devcenter.appery.io/documentat...) and steps to reproduce.
What device do you use to test? Tell us its OS version.


Visibile/Hide Audio Component

Posted: Sun Aug 17, 2014 12:50 pm
by Veronika

I have shared the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and it is titled "traffic".
Here is the public link:
http://appery.io/app/mobile-frame?src...

I am testing on an iphone 4s, with ios 7 and appery mobile tester.

Simply launch the app, the audio will auto play, and you will notice at the bottom that the audio component is not hidden.

It does hide when I test on the browser, but not with iphone.


Visibile/Hide Audio Component

Posted: Mon Aug 18, 2014 2:29 pm
by Kateryna Grynko

Hi Veronika,

Thank you for reporting this!
We reproduced the issue. Will be fixed.