Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Audio without see-able widget?

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

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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....

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Audio without see-able widget?

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.

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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.....

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Audio without see-able widget?

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

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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.

Jgc
Posts: 0
Joined: Wed Mar 07, 2012 8:58 pm

Audio without see-able widget?

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

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Audio without see-able widget?

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.

Return to “Issues”