Re: [svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-12 Thread Charles McCathieNevile
On Thu, 11 May 2006 16:05:19 -0400, Jeff Schiller  
<[EMAIL PROTECTED]> wrote:

> Good, but O9 doesn't support mp3 (last I experimented).  WAV files
> only, please! :P

OK. Works for me on Mac, but I didn't check what the general rules are.  
Audio is something I just started looking into, and I am half a world away  
 from the people who know that bit of Opera well.

(And you saw my javascript. Jim's right - I cook food. I did warn...)

cheers

Chaals

-- 
Charles McCathieNevile [EMAIL PROTECTED]
   hablo español  -  je parle français  -  jeg lærer norsk
  Peek into the kitchen: http://snapshot.opera.com/


 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Jonathan Chetwynd
Jeff, Jim & Charles,

that's a great result, mp3 wfm too.

perhaps O9 will include keyboard support for tab access? see my next  
mail ~:"
as that may be a step too far, 'A' or ctrl^ would suffice in the interim

best wishes

Jonathan Chetwynd



On 11 May 2006, at 21:05, Jeff Schiller wrote:

Good, but O9 doesn't support mp3 (last I experimented).  WAV files
only, please! :P

Jeff

--- In svg-developers@yahoogroups.com, "Jim Ley" <[EMAIL PROTECTED]> wrote:
 >
 >
 > "Jeff Schiller" <[EMAIL PROTECTED]> wrote in message
 > news:[EMAIL PROTECTED]
 > >Shouldn't you be putting this in a try,catch block?  :P
 >
 > He meant it when he said he was a cook!
 >
 > > 
 > > http://www.w3.org/2000/svg"; width="4em" height="4em"
 > > viewBox="0 0  100 100">
 > >
 > >  try {
 > >  var sound = new Audio("some.mp3");
 > } catch(e) {
 > sound=null
 > }
 > >   function singIt() {
 > try {
 > >   sound.play();
 > } catch (e) {}
 > >   }
 > >]]>
 > > 
 >
 > Jim.
 >






-
To unsubscribe send a message to: svg-developers- 
[EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my  
membership"




SPONSORED LINKS
Xml format Svg Format
Data

YAHOO! GROUPS LINKS

  Visit your group "svg-developers" on the web.

  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Jeff Schiller
Good, but O9 doesn't support mp3 (last I experimented).  WAV files
only, please! :P

Jeff

--- In svg-developers@yahoogroups.com, "Jim Ley" <[EMAIL PROTECTED]> wrote:
>
> 
> "Jeff Schiller" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
> >Shouldn't you be putting this in a try,catch block?  :P
> 
> He meant it when he said he was a cook!
> 
> > 
> > http://www.w3.org/2000/svg"; width="4em" height="4em"
> > viewBox="0 0  100 100">
> >
> >  try {
> >  var sound = new Audio("some.mp3");
> } catch(e) {
> sound=null
> }
> >   function singIt() {
> try {
> >   sound.play();
> } catch (e) {}
> >   }
> >]]>
> > 
> 
> Jim.
>






 Yahoo! Groups Sponsor ~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Jim Ley

"Jeff Schiller" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>Shouldn't you be putting this in a try,catch block?  :P

He meant it when he said he was a cook!

> 
> http://www.w3.org/2000/svg"; width="4em" height="4em"
> viewBox="0 0  100 100">
>
>   var sound = new Audio("some.mp3");
} catch(e) {
sound=null
}
>   function singIt() {
try {
>   sound.play();
} catch (e) {}
>   }
>]]>
> 

Jim.







 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Jeff Schiller
Chaals,

Shouldn't you be putting this in a try,catch block?  :P

Regards,
Jeff

--- In svg-developers@yahoogroups.com, "Charles McCathieNevile"
<[EMAIL PROTECTED]> wrote:
>
> On Thu, 11 May 2006 13:56:38 -0400, Jeff Schiller  
> <[EMAIL PROTECTED]> wrote:
> 
> > FYI - Opera 9 Beta supports the HTML 5 Audio object. You could do
> > this same thing without the use of foreignObject and embed...
> 
> My test file (warning. As a javascript programmer I am a great cook)...
> 
> 
> http://www.w3.org/2000/svg"; width="4em" height="4em"  
> viewBox="0 0  100 100">
>
>    var sound = new Audio("some.mp3");
>   function singIt() {
> sound.play();
>   }
>]]>
> 
> 
> -- 
> Charles McCathieNevile [EMAIL PROTECTED]
>hablo español  -  je parle français  -  jeg lærer norsk
>   Peek into the kitchen: http://snapshot.opera.com/
>







 Yahoo! Groups Sponsor ~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Charles McCathieNevile
On Thu, 11 May 2006 13:56:38 -0400, Jeff Schiller  
<[EMAIL PROTECTED]> wrote:

> FYI - Opera 9 Beta supports the HTML 5 Audio object. You could do
> this same thing without the use of foreignObject and embed...

My test file (warning. As a javascript programmer I am a great cook)...


http://www.w3.org/2000/svg"; width="4em" height="4em"  
viewBox="0 0  100 100">
   



-- 
Charles McCathieNevile [EMAIL PROTECTED]
   hablo español  -  je parle français  -  jeg lærer norsk
  Peek into the kitchen: http://snapshot.opera.com/


 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[svg-developers] Re: two graphics, each produces a unique sound onmouseover

2006-05-11 Thread Jeff Schiller
--- In svg-developers@yahoogroups.com, Jonathan Chetwynd
<[EMAIL PROTECTED]> wrote:
>
> two SVG graphics, each produces a unique sound onmouseover:
> 
> http://bugzilla.opendarwin.org/attachment.cgi?id=8239
> 
> regards
> 
> Jonathan Chetwynd
> 
> requires foreignObject and audio support in this case Safari webkit
>

FYI - Opera 9 Beta supports the HTML 5 Audio object.  You could do
this same thing without the use of foreignObject and embed...






 Yahoo! Groups Sponsor ~--> 
Protect your PC from spy ware with award winning anti spy technology. It's free.
http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/1U_rlB/TM
~-> 

-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/