Open the YouTube video
Right-click the video
Select Loop
Or use the video player settings if available
On mobile, tap the video and use the repeat option if shown
Add the video to a playlist
Open the playlist
Turn on repeat for the playlist
Use third-party browser extensions if needed
