Skip to content

Add Mobile UI fn to VideoJS

Merge Request Guidelines

  1. Please fill this form out to the best of your ability.
  2. Follow the principle of "One Merge Request, One Concern"
  3. Merge Requests must be complete in total.
  4. Contributed Code must be universal in scope, ie: Able to be used for all installs / install environments.

Description

Adds Mobile-UI functions to VideoJS. Allows for:

Mobile UI for Video.js.

Touch controls: Double-tap the left side of the player to rewind ten seconds Double-tap the right side of the player to fast-forward ten seconds Single-tap the screen to show a play/pause toggle

Fullscreen control: Rotate to landscape to enter Fullscreen Lock to fullscreen on rotate

src: https://github.com/mister-ben/videojs-mobile-ui

Motivation and Context

Adds more funtions to the default VideoJS while in a mobile enviroment.

How Has This Been Tested?

Added to test build, loaded files, applied the changes and then tested on 3 different mobile devices. Android S9 iOS iPhone iOS iPad Pro Each functions as described in videojs-mobile-ui description.

Coded on Windows 11, VSCode. Windows Env Tested in Brave Browser/Chromium,Edge,Firefox Developer ED. Mobile Env Tested in Andriod Brave/Chrome/Firefox, iOS Safari, Brave,Chrome,Firefox

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • Merge Request Follows the Merge Request Guidelines
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
Edited by ControllerNetwork

Merge request reports