Why does mediaplayer's seek method sometimes fail?

Does it only work if you reopen the resource file before seeking?