Aamir Shahzad
Aamir Shahzad

Reputation: 6834

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();
});

enter image description here

Upvotes: 5

Views: 2108

Answers (3)

UserJ
UserJ

Reputation: 230

It is a known bug in chrome 27 and 28 versions, upgrade the browser to latest version. Check this link https://code.google.com/p/chromium/issues/detail?id=224179

Upvotes: 1

Anirudh Ajith
Anirudh Ajith

Reputation: 927

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.

Upvotes: 1

Dave Haigh
Dave Haigh

Reputation: 4547

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

Upvotes: 1

Related Questions