Browser Video Options

Customize video playback

目前為 2018-10-07 提交的版本,檢視 最新版本

作者
Karl Piper
評價
0 0 0
版本
2.0
建立日期
2017-10-27
更新日期
2018-10-07
尺寸
2.7 KB
授權條款
未知
腳本執行於
![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)
    • Leave feedback if a file doesn't work for you.

Settings

╔══════════╦══════════════════════════════════════╦════════════╗
║ Options  ║              Description             ║   Value    ║
╠══════════╬══════════════════════════════════════╬════════════╣
║ Controls ║ Show video control bar               ║ true/false ║
║ Loop     ║ Replay video after ending            ║ true/false ║
║ Autoplay ║ Automatically start playing          ║ true/false ║
║ Muted    ║ Mute video (override 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  ║
╚══════════╩══════════════════════════════════════╩════════════╝