different audio in each slide

Free Joomla module to create slideshow on your website which includes different data like part of articles or text defined by user.
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Nov 27, 2015 2:31 pm
Hi i try to add a different audiofile in each slide. something like that:

<audio autoplay="" controls="" loop="" preload="">
<source src="http://192.254.184.234/~tangh/01_admin_resources/Shimmer/ogg/Smile.ogg" type="audio/ogg"></source>
<source src="http://192.254.184.234/~tangh/01_admin_resources/Shimmer/mp3/Smile.mp3" type="audio/mpeg"></source>
Your browser does not support the audio element.
</audio>

How can i stop the old sound and start a new one with the next slide?
thx 4 help
User avatar
Expert Boarder

GK User
Fri Nov 27, 2015 5:12 pm
Only with use of javascript. You can start with this stackoverflow thread:
http://stackoverflow.com/questions/1483 ... p-function
and hack into IS javascript to do it on slide change.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.