- This topic has 8 replies, 3 voices, and was last updated 4 years, 11 months ago by Mary Pearson.
May 6, 2015 at 9:33 pm #106202Mary Pearson
Is there a way to add an audio clip to Revolution Slider in GP Hooks?May 6, 2015 at 11:17 pm #106243TomLead DeveloperLead Developer
I’m not too sure – you would have to ask the Revolution Slider devs. If you can add it in Revolution Slider, then you would just have to add the shortcode to GP Hooks for it to work.May 7, 2015 at 6:51 am #106318Mary Pearson
Is there any way of not necessarily adding it to the slider – I don’t think that’s possible judging from their forums – but just pull it (2 second mp3) up somehow in gp hooks at the same time?
The header slides in. I want to add the sound of skates stopping for effect.May 7, 2015 at 8:30 am #106341TomLead DeveloperLead Developer
You could maybe try something like this: http://www.tudor-anghelina.com/2013/10/using-html5-audio-tag-to-add-background.html
I don’t have a lot of experience with this – but you can find lots of examples by searching for “HTML5 play audio in background”.May 7, 2015 at 1:44 pm #106430Mary Pearson
Once again you have given me direction Tom. Thank you. I went to the link you sent but couldn’t get the sound clip to stop looping, but it gave me an idea when you said HTML5.
I added a “video layer” to the revolution slider and linked the mp3 clip to the mp4 page. It works pretty well with the exception of different browsers. The timing is critical to hear the skates sliding to a stop just as the image skews in from the right. If I set the timing for Firefox and Chrome it is too slow on Safari. I don’t think this is anything that I’m going to be able to resolve, (if you have any ideas, please let me know) but once again I have learned something new, thanks to you. 😉May 7, 2015 at 5:18 pm #106470Mary Pearson
I figured out the timing issue of the sound in different browsers. Instead of adding an mp3 to the slider I created an mp4 video. Works great! Check it out at http://18.104.22.168/~robert
Thanks again Tom.May 7, 2015 at 11:22 pm #106505TomLead DeveloperLead DeveloperNovember 24, 2015 at 9:02 pm #155577Ken
Thank you for posting your solution Mary. I found this thread google searching the same thing. I followed your advice and made an mp4 video of the sound clip, added to my slide as a video, then resized it as small it would go. I couldn’t figure out how to make it not show up at all but a little dot in the corner works fine for me. Now I have a nice sleigh bell sound effect for my slide http://sandiegokaraoke.com
Thanks!November 24, 2015 at 9:08 pm #155578Mary Pearson
Wonderful! Thanks for letting me know Ken! I appreciate it.
This site I was working on is https://3zoneshockey.com/ if you want to see how mine turned out.
- You must be logged in to reply to this topic.