Version: 1.x

DblClickFullscreen

ID: vDblClickFullscreen | Type: Plugin

This plugin adds the ability to double click the player to toggle fullscreen mode.

Setup#

import { Player, DblClickFullscreen } from '@vime-js/complete';
// ...
const player = new Player({
target,
props: {
plugins: [DblClickFullscreen]
}
});

Props#

autopilot#

Type: boolean | Default: true

In autopilot mode the plugin will control certain properties automatically. Set this to false if you'd like to control them yourself. Properties below contain an 'Auto' descriptor if they are part of this system.

isEnabled#

Type: boolean | Default: true | Auto: true

Whether the plugin is enabled or not.