Okay
  Public Ticket #3030053
Is playing audio muted possible ?
Closed

Comments

  • Chnebierk started the conversation

    Hello ! I would like to get the autoplay working with this plugin.

     There's actually a way to get the autoplay working by muting the audio on page load but unfortunately I can't find how to do this with Sonaar MP3 Player.

    Has anyone any solution to this ? I'm using the JS Api to run the player in Sticky mode, launching the player with "IRON.sonaar.player.setPlayerAndPlay";

    What I tried :

    _setting "IRON.sonaar.player.mute" to "true" but no success

    _grabbing the "sonaar-audio" html audio element and setting the "muted" attribute to "true" but no success either

    Please let me know, any help ?

    Thanks 

  •  1,103
    Max replied

    Hi, 

    I'm a bit confused. Could you elaborate the goal why you need a muted audio player to auto play? 

    I understand the need to mute the audio when launching a video to by pass the auto play policy set by the browser, but in your case, I don't understand what you are trying to acheive. 



    Thanks,


    Max from the Sonaar.io Crew