Greasy Fork is available in English.

Browser Video Options

Customize video playback

作者
Karl Piper
今日安裝
0
安裝總數
660
評價
6 0 0
版本
2.3
建立日期
2017-10-27
更新日期
2019-09-12
授權條款
未知
腳本執行於
![logo image](https://i.imgur.com/CxT2VtA.png)


About

  • Custom video playback defaults. See settings section for the breakdown.

Works with

  • Local files (file:///example/video.webm)
  • Hosted files (example.com/video.webm)
  • Common filetypes (mts, avi, mov, ogm, wav, webm, mkv, flv, ogv, ogg, wmv, mp4, m4p, m4v, mpg, mp2, mpe, mpeg, mpv, 3gp, 3gpp, 3g2)
    • Leave feedback if you discover any issues

Settings

╔══════════════════╦═══════════════════════════════════╦════════════╗
║ Options          ║              Description          ║   Value    ║
╠══════════════════╬═══════════════════════════════════╬════════════╣
║ controls         ║ Show video controls bar           ║ true/false ║
║ noDownload       ║ Hide download control control     ║ true/false ║
║ noRemotePlayback ║ Hide remote playback control      ║ true/false ║
║ noFullscreen     ║ Hide fullscreen control           ║ true/false ║
║ noPip            ║ Hide picture-in-picture control   ║ true/false ║
║ loop             ║ Replay video after ending         ║ true/false ║
║ autoplay         ║ Automatically start playing       ║ true/false ║
║ muted            ║ Mute video (overrides volume)     ║ true/false ║
║ width            ║ Video width, optional             ║ CSS units  ║
║ height           ║ Video height, optional            ║ CSS units  ║
║ poster           ║ Placeholder image, optional       ║ URL        ║
║ volume           ║ Volume, defaults to 1.0, optional ║ 0.0 - 1.0  ║
║ customCss        ║ Styles applied to page, optional  ║ CSS        ║
╠══════════════════╬═══════════════════════════════════╬════════════╣
║ showSettings     ║ Display settings, for debugging   ║ true/false ║
╚══════════════════╩═══════════════════════════════════╩════════════╝