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

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

Build:
Build:
LAST BUILD BRANCH: div-embed
DEFAULT BRANCH: master
Ran 24 Oct 2016 06:33AM UTC
Files 91
Run time 5s
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

24 Oct 2016 06:27AM UTC coverage: 83.757%. First build
4338.1

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

Source Files on job 4338.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4338
  • Travis Job 4338.1
  • 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