Always updates duration in onMetaDataHandler, so when a different video is loaded in the same player, duration gets updated.