You can match the bar exactly to the clip.
To loop the bar, you could just copy the clip that represents the progress bar as many times as needed.
You could also use an image editing software like GIMP to create a rectangle outline with a transparent background. Export it as a PNG and insert it into a higher track. Now, you fit the bar into the outline. This represents the whole duration of the clip. I can provide detailed instructions if you need them.