The easiest way to support this is wrapping the library in the "Universal Module Definition" pattern so it supports various loaders: https://github.com/umdjs/umd This would also have the side effect of fixing this bug: https://github.com/walsh9/videojs-transcript/issues/6