How do I use webkit-playsinline in javascript instead of in html5 video tag? I want to use it just like using video tag control/autoplay attribute in javascript or if you gu
You need to attach it to the video element and set it as video's attribute
such as :
so you could do (with jQuery) :
$('video').attr('webkit-playsinline', '');