Mute through setup doesn't work
Hi,
I'm setting up the player in a JavaScript shell I've built as such:
player.jwplayer.setup({
advertising: adsConfig, // Check if ads tag has info or is empty
autostart: player.options.autoplay === true,
file: file,
height: '100%',
mute: player.options.mute,
width: '100%'
});
player.options.mute is a Boolean equal to true
Everything works fine, the file plays perfectly.
The only problem is that the video isn't muted even though the parameter is definitely true.
My current workaround is:
player.jwplayer.on('ready', function(setupTime) {
// Fix for a bug where mute doesn't work in setup()
player.jwplayer.setMute(player.options.mute);
});
Is there a better solution to this ? Is this a known issue ?