Open rajneesh594 opened 3 years ago
Like described in #20, the player mute
option must be set to true. (in your code example, it is commented).
Is any error message displayed in browser console ? (are you testing on desktop, or mobile device ?)
Also do you have a demo/test page to share ? (easier for me to debug/reproduce your issue)
Here is the code,
https://codepen.io/rdk594/pen/vYmjREK,
And I have commented on the mute because I don't want to mute the vds, I just want to mute ads.
To mute the ad I am using
adWillPlayMuted=true,
You can check in the code that I have set it true but still, it's not working.
Please let me know if I am doing something wrong.
I forked your code, and i added https to video source and set the mute option to true and it work for me.
https://codepen.io/kslimani/pen/MWmGXxX
Technically, setting mute
player option to true adds the muted attribute to the internal video element (which is required to autoplay)
EDIT:
And I have commented on the mute because I don't want to mute the vds, I just want to mute ads.
To my knowledge, you can't mute only the ad and have sound on video content (at least without user consent).
HI, I am trying to mute the add but it's not working. Following is my code so that you can understand what I have tried maybe this is some issue with the plugin.