Veronika
Posts: 0
Joined: Thu Aug 07, 2014 1:13 pm

Visibile/Hide Audio Component

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?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Visibile/Hide Audio Component

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.

Veronika
Posts: 0
Joined: Thu Aug 07, 2014 1:13 pm

Visibile/Hide Audio Component

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Visibile/Hide Audio Component

Hi Veronika,

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

Return to “Issues”