You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
`(function (){
console.log("50001");
var vd_scr = 'song.webm?t=1';
var TAG_VMAP = 'https://pubads.g.doubleclick.net/gampad/ads?sz=640x480&iu=/124319096/external/single_ad_samples&ciu_szs=300x250&impl=s&gdfp_req=1&env=vp&output=vast&unviewed_position_start=1&cust_params=deployment%3Ddevsite%26sample_ct%3Dskippablelinear&correlator=';
var player = new Clappr.Player({
parentId: ".player",
source: vd_scr,
width: '100%',
height: '100%',
autoPlay:true,
//mute: true,
plugins: [
ClapprImaPlugin,
],
imaPlugin:{
playInline: true,
isableNonLinear: true,
isableNonLinearForIOS: true,
resetAdOnEnded: true,
requestAdIfNoAutoplay: true,//always set it to true, to undertand please follow this https://github.com/kslimani/clappr-ima-plugin
resetAdOnEnded: true,
imaAdPlayer:{
adWillAutoPlay:true,
tag: TAG_VMAP,
locale: 'us',
adWillPlayMuted: true,
timeout:300, //The duration in milliseconds to wait for the IMA SDK library to be loaded.
maxDuration: 300000,//The maximum duration in milliseconds an ad is displayed
},
},
});
})();`
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: