This library was using videojs.mergeOptions which will be deprecated in 8.0. This adds code to normalize between Video.js 6.x/7.x (using videojs.mergeOptions) and 8.x (using videojs.obj.merge).
Also, this removes the fallback on videojs.plugin() because that was replaced in either 5.x or 6.x with videojs.registerPlugin(). Either way, it wasn't needed.
This library was using
videojs.mergeOptions
which will be deprecated in 8.0. This adds code to normalize between Video.js 6.x/7.x (usingvideojs.mergeOptions
) and 8.x (usingvideojs.obj.merge
).Also, this removes the fallback on
videojs.plugin()
because that was replaced in either 5.x or 6.x withvideojs.registerPlugin()
. Either way, it wasn't needed.