How to add a sound clip to a link or an image in mouseover

Forum rules
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Rommel
Posts: 34
Joined: Sat Aug 20, 2011 7:55 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

How to add a sound clip to a link or an image in mouseover

Post by Rommel » Thu Aug 01, 2013 8:12 am

I need help. I would like to add a sound clip to a text link and to an image link, that is when the cursor hovers over the text or the image that sound clip will play, and on mouseout will automatically stop i.e. a sort of sound effects for text and image buttons.

reuterr
Posts: 253
Joined: Sat Jul 24, 2010 9:59 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by reuterr » Mon Aug 05, 2013 12:46 pm

Hi there,
checkout the ZIP-file below. I removed the original one posted here.
After unzip click on index.html in the HP folder.
All the best,
Roland
Last edited by reuterr on Thu Aug 08, 2013 7:57 am, edited 1 time in total.

Rommel
Posts: 34
Joined: Sat Aug 20, 2011 7:55 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by Rommel » Wed Aug 07, 2013 5:01 pm

Thank you, i'll definitely try it out. :D

reuterr
Posts: 253
Joined: Sat Jul 24, 2010 9:59 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by reuterr » Thu Aug 08, 2013 7:00 am

Hi,
there's one thing to mention: When the page is loaded for the 1st time, there might be more or less a little delay until your hear something, depending on the length of the various soundfiles you wanna use.
I have downloaded some cellphone files and reduced their sizes to make them load faster. See THIS ZIP-file too:
HoverSound.zip
R
You do not have the required permissions to view the files attached to this post.

Rommel
Posts: 34
Joined: Sat Aug 20, 2011 7:55 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by Rommel » Sun Aug 18, 2013 6:24 am

thanks again... that solved the sound delay issue. what software did you use to compress the size of the sound files?

reuterr
Posts: 253
Joined: Sat Jul 24, 2010 9:59 am
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by reuterr » Sun Aug 18, 2013 4:48 pm

Hi there,
I'm using NERO with a plugin for converting into MP3s. This contains all kinds of possiblities depending on the soundquality you wanna go for.
Cheers,
Roland

giosafat
Posts: 35
Joined: Sat Apr 09, 2011 4:43 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: How to add a sound clip to a link or an image in mouseov

Post by giosafat » Tue Aug 27, 2013 5:13 pm

Fantastic solution, Roland!
To hide the menu object, you can simply assign the "visibility"="hidden" in the "special styles" (tab "various"), after that, you can manage the hidden objects using the object explorer.
...but... there's no way to assign a sound to a label linked to a page?
Thanks
Giorgio
Last edited by giosafat on Tue Aug 27, 2013 11:41 pm, edited 1 time in total.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “English Forum”