How can I get the current time of the song playing in jPlayer? [closed]

时光总嘲笑我的痴心妄想 提交于 2020-01-14 02:35:07

问题


I used a jPlayer control to play a music part and songs. I want to get the specific time during the jPlayer play, but i can't.

How can i get the current time of the song playing?


回答1:


Take this:

$("#yourPlayer").data("jPlayer").status.currentTime

Also, take a look here: jPlayer 2.0 Elapsed/Remaining Time



来源:https://stackoverflow.com/questions/13785631/how-can-i-get-the-current-time-of-the-song-playing-in-jplayer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!