quoth Koen Deforche as of Mon, 24 Nov 2008 15:13:10 +0100:
> Hey Lalo,
> 
> 2008/11/23 Lalo Martins
> <[EMAIL PROTECTED]>:
>> So this client wants little sound effects when the user clicks a
>> widget. I did try to dissuade them :-P but they're adamant.
>>
>> Is that possible with wt?
> 
> Not as such.
> 
> Googling around suggests that flash is the accepted solution for sound
> (for example GMail uses flash for sound in the chat application).
> 
> You would need to develop an (invisible) widget that wraps a flash
> object and provides a JavaScript API to access the the sound
> capabilities?

Thanks.  Yeah I figured as much... I dread the idea because I don't 
"speak" flash, but ok :-)

I'd like to contribute that to Wt once I do, if there's interest.  
Although I'm still learning the toolkit, so that may take a while.  Since 
this is certainly bloat to 99% of users, I guess package it in a separate 
lib wtmedia or something?

I imagine a very simple API... I'll put more thought into it and post 
here.  If either flash or js isn't available, it'd degrade to simply 
doing nothing.  Maybe try HTML5 before flash?

best,
                                               Lalo Martins
-- 
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
                           -----
                  http://lalomartins.info/
GNU: never give up freedom              http://www.gnu.org/


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to