西瓜播放器 HTML5 video video.js 播放器 HTML5播放器 mp4 hls hls.js flv flv.js dash dash.js 无缝切换

replay

End of playback and replay prompt。SourceCode

pluginName: replay

config

disable

  • @type: Boolean
  • default: false

Whether to disable

hooks

replayHandler

  • @desc: Triggered when the user clicks the replay button

E.g:

  player.usePluginHooks('replay','replayHandler', (plugin) => {
    // TODO
    return true
  })