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

time

play time, duration display plug-in。SourceCode

pluginName: time

config

position

  • @type: String
  • default: POSITIONS.ROOT_LEFTFor specific enumeration values, please see plugin-positions

index

  • @type: Number
  • default: 2

API

updateTime(time)

  • @desc: Update current time
  • @param: { Number } time unit is s