I need to play video on my web-page. But I need to deny control. I put \"controls=0\", but player has pause action when I click on it. Can I disable \"pause\" action in YouT
Here is a way to block the screen so the user can't click anything.
// block screen so user cant click
var blockDiv = $(document.createElement('div'))
.attr('id', 'blockDiv')
.height('100%').width('100%')
.css({'z-index':'3333', 'position' : 'absolute', 'top': '0', 'left':'0'});
$('body').append(blockDiv);