• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

videojs / video.js / 4338
84%
master: 85%

Build:
Build:
LAST BUILD BRANCH: div-embed
DEFAULT BRANCH: master
Ran 24 Oct 2016 06:33AM UTC
Jobs 1
Files 91
Run time 6s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4338

push

travis-ci

web-flow
fix: make sure that document.createElement exists before using

If you try and require videojs in an environment that doesn't implement `document.createElement` properly -- like in Node.js -- you could potentially get an error. This checks that `window.document && window.document.createElement` is available before calling `createElement`.
We specifically check `window.document` so that `global` module won't cause issues with it's shimming of `document.createElement` in `global/document.

Fixes #3665

5342 of 6378 relevant lines covered (83.76%)

1046.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4338.1 24 Oct 2016 06:33AM UTC 0
83.76
Travis Job 4338.1
Source Files on build 4338
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4338
  • 975fda02 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc