Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Play parameters destination
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

T00N
Super User

573 Posts

Posted - 09 Aug 2006 :  17:47:52  Show Profile  Visit T00N's Homepage  Reply with Quote
I inserted a wav file into a page, put autostart on false.
I want to play this wav file by a mouse over event.

When I go to events, mouse over, play it show a dropdown list but there is no9thing in it??? What should I do with the wav file to be able to select in de play dropdown list?

Edited by - T00N on 09 Aug 2006 23:31:39

s.dav
Site Admin

Italy
3364 Posts

Posted - 10 Aug 2006 :  17:23:33  Show Profile  Visit s.dav's Homepage  Reply with Quote
Have you used the Audio tool for inserting the .WAV file into your page? Just tested with the Audio object and all work correctly.

Regards, Davide
Go to Top of Page

T00N
Super User

573 Posts

Posted - 10 Aug 2006 :  19:06:02  Show Profile  Visit T00N's Homepage  Reply with Quote
Oke, I used the multimedia tool to insert the wav file and that didn't work. The audio tool does the job allright.

But then it goes wrong.
The screen says: onMouseover, Play, Audio1

So that looks oke, but when I export the page and try it in either IE of Firefox nothing happens when I go over the image, no sound is played.

The statusbar says something like:

http://www.lynxcardesign.nl/site/template.htm#

Like it some sort of link.

If I test it locally or upload the file to the site, it doesn't matter.

Go to Top of Page

T00N
Super User

573 Posts

Posted - 10 Aug 2006 :  19:13:37  Show Profile  Visit T00N's Homepage  Reply with Quote
When I look at the code of the htm page in dreamweaver it says at the picture:

<a href="#" onMouseOver="jsPlay('Audio1');"><img id="Picture3" name="Picture3" src="files/template_picture3.png" width="155" height="29" border="0" alt=""></a></div>

Is that right?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 11 Aug 2006 :  09:32:23  Show Profile  Visit s.dav's Homepage  Reply with Quote
Yes it's right; the problem can be in the jsPlay function.
In order to play a sound file you must have the corrected plugin installed in Explorer and Firefox.
When I've tried to play a sound in my home pc using DHE it works good.

Regards, Davide
Go to Top of Page

T00N
Super User

573 Posts

Posted - 11 Aug 2006 :  09:54:34  Show Profile  Visit T00N's Homepage  Reply with Quote
Hmm, I googled for jsplay plug-in but that didn't help me any further.
Is it possible for you to put a demo page online so can I can take a look in the source code?
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 11 Aug 2006 :  13:41:17  Show Profile  Reply with Quote
Hello Toon,

I made an example for you which you can view here
http://home.tiscali.nl/gggev/test.html

It's a simple mouseover which creates a nice sound when moused over I think this is what you are looking for but I am notsure.

Only strange thing about my example, maybe Davide can explain this, is that the first time you go over it with your mouse there is no sound. Only after the second time the mouse over works. I haven't got a clue as to why.

Martin

Edited by - Martin1 on 11 Aug 2006 13:43:41
Go to Top of Page

T00N
Super User

573 Posts

Posted - 11 Aug 2006 :  13:53:54  Show Profile  Visit T00N's Homepage  Reply with Quote
Thanks for the example but I tried your page on 4 different machines and guess what... no sound whatsoever.

When the mouse is over it the statusbar is: http://home.tiscali.nl/gggev/test.html#

I'm getting frustrated! [2 H:)][2 77:H][2 ?:-|]
Go to Top of Page

Jan van Londen
Super User

Netherlands
208 Posts

Posted - 11 Aug 2006 :  14:16:28  Show Profile  Visit Jan van Londen's Homepage  Reply with Quote
On my computer it works.
Maybe you can check in IExplore, Extra, Internet Options, tab Programs, plug in's. Be sure your players are switched on
Bye,
Londen.
P.S. I don't know if IExplore English uses these words, I've got a Dutch one.

Bye,
Londen.
Go to Top of Page

T00N
Super User

573 Posts

Posted - 11 Aug 2006 :  14:40:27  Show Profile  Visit T00N's Homepage  Reply with Quote
I set my options back to default and checked under programs but everything there is switched on.
Go to Top of Page

Edigital
Master

107 Posts

Posted - 12 Aug 2006 :  05:02:21  Show Profile  Visit Edigital's Homepage  Reply with Quote
Hello!

I tried with FireFox and the browser alert about "Quicktime player plugin needed..!", so I think the problem is some plugin for play music instead of browsers, machines, etc..
Go to Top of Page

T00N
Super User

573 Posts

Posted - 15 Aug 2006 :  14:41:40  Show Profile  Visit T00N's Homepage  Reply with Quote
Quite strange though that it is so difficult to get this (simple) thing to work.

I'm even considering to find out if it can be done by playing a hidden swf file with a sound in it.

But again, this shouldn't be so difficult [3 cens]
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 15 Aug 2006 :  18:55:42  Show Profile  Visit s.dav's Homepage  Reply with Quote
Maybe the Javascript function I'm using is not the better way to do this trick. If anyone finds a better way to play a sound please let me know.

Regards, Davide
Go to Top of Page

Martin1
Super User

Netherlands
626 Posts

Posted - 15 Aug 2006 :  19:22:05  Show Profile  Reply with Quote
I have no idea if it is better but here:
http://home.tiscali.nl/gggev/sound.html
you can see how it's done in Adobe GoLive CS2.

I doesn't work because I haven't set the sounds but if you look at the source Davide, you might be able to figure out what it all does and means.

Martin
Go to Top of Page

Waldorf
Super User

Belgium
284 Posts

Posted - 15 Aug 2006 :  22:22:42  Show Profile  Visit Waldorf's Homepage  Reply with Quote
with IE it will work

...but who venture to uses the unsafe IE, I don't [2 :D]

Thats the reasen why I do 'all' sounds in Flash (no/never problems)

opera,ffox etc [3 up]



*
"Happiness" is making -> The <- Choice!
*

Edited by - Waldorf on 15 Aug 2006 22:24:21
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Aug 2006 :  11:08:31  Show Profile  Visit s.dav's Homepage  Reply with Quote
I've seen the sample and it uses exactly the same method used by D.H.E.
The javascript play function.

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000