Provides an alternative canplaythrough calculation for html5 video
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
canplaythrough.js

README.md

canplaythrough

Provides an alternative canplaythrough event calculation for HTML5 video.

In Chrome, canplaythrough is incorrectly fired as soon as media load begins.

See: https://code.google.com/p/chromium/issues/detail?id=73609

This library implements its own canplaythrough by returning a promise which is resolved when enough of the video has loaded.

Provides this syntax:

  $(video).canPlayThrough(url);