video.js

Video js remove controlbar permenantly


I am using video.js to play a splash screen video in an ionic app. Is it possible to remove the control bar completely from the player?


Solution

  • Yes, there is a controls option responsible for this:

    const player = videojs('my-player', {
      controls: false
    });