MultimediaControlProperties.setLoop

Sets whether the multimedia player will automatically restart upon reaching the end of the content.

Further documentation.

Parameters

boolean  loop,