播放列表进度 抱歉,此页面正在等待翻译成土耳其语 You can track the progress of the entire playlist via JS API. Before you need to add the duration parameter to each playlist file and specify the duration in seconds. [ {"title":"Episode 1","file":"URL","duration":"47"}, {"title":"Episode 2","file":"URL","duration":"888"} ] You can get the progress value by request: player.api("playlist","played"); The player will return the result as a percentage. You can also request the total duration of the playlist in seconds: player.api("plduration"); Notes
|