Use the Wrap Button part to turn wrap on or off. Toggling the wrap setting determines what the player does when the end or beginning of the media is reached. During play, when the wrap setting is set to true, the player continues play at the beginning of the media when the end of the media is encountered.