![](https://secure.gravatar.com/avatar/8647288355a81d5efacae2e0df131d1b?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Cannot mute volume before video plays.
I want to show the first frame of the video as start image without playing the video.
I try to do this by muting the volume, call play(), and pause video after 500ms. But often I can hear audio for a second or so before video is paused.
Seems like mute and volume functions do not work.
My code looks like this:
jwplayer("video_jw_@vcf.ID").setup({
file: '@vcf.FullFilename',
bufferlength: 20,
width: 640,
height: 360,
primary: 'html5',
example_option: false,
controlbar: 'bottom',
autostart: false
});
jwplayer("video_jw_@vcf.ID").onReady(function () {
$this = this;
jwplayer("video_jw_@vcf.ID").setVolume(1);
jwplayer("video_jw_@vcf.ID").setMute(true);
jwplayer("video_jw_@vcf.ID").play();
});
jwplayer("video_jw_@vcf.ID").onPlay(function () {
$this = this;
var pauseMe = window.setTimeout(function () { // pause video
$this.pause();
}, 500);
});