Improve PsmfPlayer.

Implement video loop for PsmfPlayer.