![](https://secure.gravatar.com/avatar/d8b8f91785b0b117e69e2947fcc25e50?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
how to disable pause button during preroll video
I am using jwplayer 6.8 ads edition and restricted user skipping the pre-roll video advertising by setting 'skipoffset': 0, and showing ad countdown message, pause button, how can i disable pause button during pre-roll video.
following is config:
jwplayer("video-media").setup({
file: "player/static.mp4",
width: "100%",
aspectratio: "16:9",
autostart: true,
primary: 'html5',
advertising: {
client: "vast",
tag: "http://demo.jwplayer.com/player-demos/assets/preroll.xml",
admessage: 'This advertisement ends XX seconds.'
},
events: {
onComplete: function() { }
}
});