Languages

Menu
Sites
Language
Play Sound When Click Image

Hey guys,

I need help implementing a feature, so when user click on an image, a sound is played. I am creating a language translating app, one of the feature is an Alphabet tab, where users can learn how to pronounce the letters. However, how can you play sound when pressing image, cant seem to find any sample code. 

 

Edited by: Zeshan Sajid on 21 Dec, 2014

Responses

2 Replies
Sanjeev BA

The following links should help.

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.w3c.apireference/w3c_api.html (Look for Media, Audio, Sound)

Programming Guide,

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.web.appprogramming/html/guide/w3c_guide/media_guide/html5_audio_video.htm

 

AVSukhov

Hello,

For playing audio in Tizen Web app you mau use:

- html5 audio element

https://developer.tizen.org/dev-guide/2.2.1/org.tizen.web.appprogramming...

- web audio api

https://developer.tizen.org/documentation/articles/working-web-audio-api

- native service