本文介绍了如何获得在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
这篇关于如何获得在jPlayer中播放的歌曲的当前时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!