videojs-per-source-behaviors
Version:
A Video.js plugin for enhancing a player with behaviors related to changing media sources.
18 lines (12 loc) • 425 B
JavaScript
const generate = require('videojs-generate-karma-config');
module.exports = function(config) {
// see https://github.com/videojs/videojs-generate-karma-config
// for options
const options = {
browsers(aboutToRun) {
return aboutToRun.filter(launcherName => launcherName !== 'FirefoxHeadless');
}
};
config = generate(config, options);
// any other custom stuff not supported by options here!
};