<video data-type="video" type="video/mp4" src="/data/NFL.1.mp4" autoplay controls></video>
$(function (e) {
$('[data-type="video"]').on('play', function () {
var video = this;
setTimeout(function () {
video.pause();
}, 5000);
});
});
$('[data-type="video"]').on('timeupdate', function () {
if (this.currentTime > 5) {
this.pause();
}
});