Zorn/docs/toggles.mdx

1.1 KiB

Title Type
Toggles Document

import {Code} from "astro:components" import {Zorn} from "@minpluto/zorn"

Zorn has plent of controls to show, some are enabled or disabled by default with their toggle option.

Skip Backward and Forwards

By default, these buttons are hidden. If you want to show them, just add the ShowBackAndForward option:

<Code lang="jsx" code={<Zorn ShowBackAndForward/>}/>

Option Default Description
ShowBackAndForward false Show seek backwards and forwards buttons
ShowPlaybackRate false Show Playback Rate button
ShowPiP true Show Picture-in-Picture button
ShowFullscreen true Show Fullscreen button
BigPlayButton false Before showing controls, show a large player button first