add getDuration() function to ChromelessPlayer