如何获得在jPlayer中播放的歌曲的当前时间?
问题描述:
我使用jPlayer控件播放音乐和歌曲. 我想在jPlayer播放过程中获得特定时间,但我不能.
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?
答
为此:
$("#yourPlayer").data("jPlayer").status.currentTime
此外,请在此处查看: jPlayer 2.0经历/剩余时间
Also, take a look here: jPlayer 2.0 Elapsed/Remaining Time