I'm using flowplayer 3.1.5 and I am unable to get the fullDuration for MP3 files. Strangely enough, the length of the MP3 is shown in the GUI at the end of the progress bar. So, I know the value is in there somewhere... I have seen similar bugs having to do with playlist.
My goal is to determine the play percentage that the viewer watch by sampling the following:
player.getTime()/(player.getClip().fullDuration)
player.getTime() => returns a value every time.
player.getClip().fullDuration => returns "undefined"
FYI: I also went the metadata route, but after sampling a dozen mp3's, none had the duration of the song as metadata.
Thanks for the help.
My goal is to determine the play percentage that the viewer watch by sampling the following:
player.getTime()/(player.getClip().fullDuration)
player.getTime() => returns a value every time.
player.getClip().fullDuration => returns "undefined"
FYI: I also went the metadata route, but after sampling a dozen mp3's, none had the duration of the song as metadata.
Thanks for the help.