Quantcast
Channel: DaniWeb Solved Topics
Viewing all articles
Browse latest Browse all 576

How to add audio effects to website using jquery

$
0
0

I need some help to add few audio effects to website.

I found some examples like following,

audioOn: true

audio.muted = false

setAudioOn true    

 ref: "audio",
    attrs: {
      "id": "projects-audio"
    }
  }, [_c('source', {
    attrs: {
      "src": "/audio/click.mp3"
    }

     playAudio: function playAudio() {
        this.$parent.$refs.clickAudio.volume = 0.8;
        this.$parent.$refs.clickAudio.play();
    },

I need help to play audio using play() , control volume using volume = 1

What is workClick: ? I found it used with sound properties.

So, basic needs are play various sounds - on click, background music, control volume of background music, play sound on overlay appears


Viewing all articles
Browse latest Browse all 576

Trending Articles