mobileUi = function(options) {
  // if (videojs.browser.IS_ANDROID || videojs.browser.IS_IOS) {
  if (videojs.browser.IS_ANDROID) {
    this.ready(() => {
      onPlayerReady(this, videojs.mergeOptions(defaults, options));
    });
  }
}
A video.js plugin.

Adds a monile UI for player control, and fullscreen orientation control

@function mobileUi
@param    {Object} [options={}]
          Plugin options.
@param    {Object} [options.fullscreen={}]
          Fullscreen options.
@param    {boolean} [options.fullscreen.enterOnRotate=true]
          Whether to go fullscreen when rotating to landscape
@param    {boolean} [options.fullscreen.lockOnRotate=true]
          Whether to lock orientation when rotating to landscape
          Unlocked when exiting fullscreen or on 'ended'
@param    {boolean} [options.fullscreen.iOS=false]
          Whether to disable iOS's native fullscreen so controls can work
@param    {Object} [options.touchControls={}]
          Touch UI options.
@param    {int} [options.touchControls.seekSeconds=10]
          Number of seconds to seek on double-tap
@param    {int} [options.touchControls.tapTimeout=300]
          Interval in ms to be considered a doubletap
@param    {boolean} [options.touchControls.disableOnEnd=false]
          Whether to disable when the video ends (e.g., if there is an endscreen)
          Never shows if the endscreen plugin is present