I am embedding html5 video player
in my aspx page. Playback is OK in all browsers except chrome (Version 28.0.1500.52). Video stops automatically after 10 secs of playback (video not running completely). Its quite annoying issue. Its working fine on my college computer running chrome version (Version 29.0.1547.66).
here is html
<video id="intro_vid" controls width="800" height="500">
<source src="Video/Dd.ogv" type='video/ogg;' />
<source src="Video/Dd.webm" type='video/webm' >
<source src="Video/Dd.mp4" type='video/mp4'>
<p>Video is not visible in your browser, Please upgrade your browser</p>
</video>
js to show hide video player.
$(".vid_desi").click(function () {
$(".introVid").lightbox_me({
centered: true,
modalCSS: { left: 50, top: 0 }
});
$(".close_Vid_btn").show();
});
$(".close_Vid_btn").click(function () {
//alert('video close');
$("video").each(function () {
$(this).get(0).pause();
});
$(".close_Vid_btn").hide();
$('.js_lb_overlay').hide();
$(".vid_desi").hide();
$(".introVid").hide();
});
I have encountered bugs with chrome and my own html5 video players before. an update solved the issue, I logged a bug report with google and forgot about it. I wouldn't worry about it, most likely a bug with that version of chrome
It is very common for browsers (not only chrome) to have issues or bugs with playing from HTML5 video players. Try uploading to the latest version of chrome, Version 33.0.1750.152.
The video will probably play without breaking abruptly. Otherwise, file a bug report with Google about the issue. Hopefully, it'll be rectified soon.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With