How to make a sound play when you hover over a specific image?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
Account-Ability
 
 
Posts: 24
Joined: Wed May 11, 2016 7:06 pm

How to make a sound play when you hover over a specific image?

Post by Account-Ability »

I am trying to make a .wav audio file to play when I haver over an image. It works but it goes to the audio player controls. Is there a way to hover over an image and the sound will play once and stay on the same page? In this specific scenario, I want to hover over an image of a Bear and have a bear Roar play.
User avatar
BaconFries
 
 
Posts: 5873
Joined: Thu Aug 16, 2007 7:32 pm

Re: How to make a sound play when you hover over a specific image?

Post by BaconFries »

Have you read the following
Using events to create a roll over image with sound. Please read from :Step 4
To play a sound we will use the Audio object.
Please be aware that not all browsers do support the same media formats! See the information in the help for more details about this.
Also note that this will note work in the likes of "Touch" enabled devices such as iPhones, Android etc as they do not support "Hover" as this is primarily used in "Desktop" using a mouse which "Touch" devices do not.
Account-Ability
 
 
Posts: 24
Joined: Wed May 11, 2016 7:06 pm

Re: How to make a sound play when you hover over a specific image?

Post by Account-Ability »

Got it. Thanks for your help. Really appreciated.
Post Reply