videojs/video.js — pull request #1320 by mattosborn (2014-07-01 10:04:33+00:00)
Title: adding a currentType method to get current source type if known

Alternative solution for the problem posed in #1313. See that PR for discussion.