HTML5 Video player issue in Chrome
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();
});
No comments:
Post a Comment