xgplayer-mirror-plugin
v0.1.16
Published
xgplayer-mirror-plugin
Downloads
11
Readme
xgplayer-mirror-plugin
Install
via pnpm
, yarn
or npm
:
pnpm add xgplayer-mirror-plugin
# or
yarn add xgplayer-mirror-plugin
# or
npm i -S xgplayer-mirror-plugin
Usage
import Player from 'xgplayer';
import { mirror, s_mirror } from 'xgplayer-mirror-plugin'
Player.installAll([mirror, s_mirror]);
new Player({
...
mirror: {
horizontal: true,
vertical: true,
},
});