Added isPlaying flag to VideoPlayer