Make shareable link loop automatically

Is there a way to make shareable links like this loop instead of just running off the end of the staff?

In case anyone else runs into this problem, the issue was just that there were a bunch of extra empty measures at the end, it does loop automatically once it gets past those, so removing them fixes the problem.