I am working on responsive site. We need when a user see video section that's need to autoplay. If set scroll top for video tag is not working. But i set scrolltop to window it's working fine.
<video id="test">
</video>
<script>
$(document).ready(function () {
$(window).scroll(function () {
var js=$('#test-28').scrollTop();
console.log(js);
});
});
</script>
Its always show 0
Anyone know how to slove this