You can make repeated calls to the play routine, or unlimited calls to the play subroutine, or have the play subroutine call itself.
Each time it goes to 'loop', it will show the rebuffer screen.
For looping the same video it would be better to use the Brightsign platform, rather than Roku.