working on additional playback features (seeking, etc.)
added seek and getframeposition functions for playback