typeof define === 'function' && define.amd ? define(factory)
typeof define === 'function' && define.amd ? define('videojs', factory)