Page 1 of 2

Audio without see-able widget?

Posted: Wed Apr 11, 2012 10:22 pm
by Jgc

Hi. I am trying to create an app that on button click will simply play back a song/sound. I have tried the Audio Widget and it puts a play button and a timeline down. I dont want that.....I just want to click a simple button and get playback of a sound.....

Maybe im not using the audio widget correctly? Any suggestions are greatly appreciated. Please enlighten me on how to do this. Thank you.


Audio without see-able widget?

Posted: Wed Apr 11, 2012 10:36 pm
by maxkatz

Uncheck Visible property, and test if it still plays like that.


Audio without see-able widget?

Posted: Fri Apr 13, 2012 2:13 pm
by Jgc

Tried it and it dont play. I am using SoundCloud dot com to upload my sounds. If that is not a good choice for trying to play sounds in my app, then do you know of a better source to reference sounds from?

With soundcloud I get a link to my sound. I want to reference the link and have the sound play when i press my button (Tiggzi button widget) in my app. As of right now it does either nothing or it goes to a web page where my sound is....I dont want that.

I want to push the button in the app and have the sound play. This is really trying my patience so help is greatly appreciated....


Audio without see-able widget?

Posted: Sat Apr 14, 2012 12:00 am
by maxkatz

There are two ways you can add sound to your app:

1) Using audio component (HTML5 audio element)
2) Embed HTML or JavaScript (similar to embedding YouTube)

If you can use the audio component by setting it to SoundCloud URL, then you should be able to control it via buttons. If SoundCloud allows to embed a widget, then you can try that as well.

Either way, this solution has to be implemented in the app.


Audio without see-able widget?

Posted: Mon Apr 16, 2012 2:23 pm
by Jgc

Tried the audio widget. I entered everything correctly in all the fields that the widget contains and I get nothing whether I test on a phone, web browser or tiggzi tester app.....


Audio without see-able widget?

Posted: Mon Apr 16, 2012 4:00 pm
by maxkatz

What audio URL did you try? On what device version did you test it?


Audio without see-able widget?

Posted: Tue Apr 17, 2012 4:22 am
by Jgc

tested on motorola atrix 2 and the uRL is http://snd.sc/HBaEaM


Audio without see-able widget?

Posted: Tue Apr 17, 2012 4:24 am
by Jgc

also tested it on my pc using the browser and I made the app public and tested it by sending myself a link via email. I also scanned the QR to test it that way. Everything I try I get NO result. I just want the sound to play when the user clicks the button in the app.......Nothing fancy......just play a sound...All help is greatly appreciated. Thank you.


Audio without see-able widget?

Posted: Tue Apr 17, 2012 4:27 am
by Jgc

Im trying to do something similar to this - http://jplayer.org/latest/demo-05/

Its a button that when clicked plays a sound......


Audio without see-able widget?

Posted: Tue Apr 17, 2012 5:26 am
by maxkatz

Such link won't work. It's a SoundCloud.com page, not an actual URL to an audio file. It has to be a link to .ogg or .mp3 file.

https://developer.mozilla.org/En/HTML...

You can see an example here:
http://help.gotiggr.com/documentation...

As I mentioned before, the audio component is just the standard HTML5 audio element.