Unfortunately, there is no setting that I know of that does this. So a workaround is to have the VR photo pause after playback. This is very helpful if you view VR photos as I do for reference and would much rather not have the VR photo close down after playback.
To do this, open VLC Media Player, open up Preferences, click on the button at the bottom left that says “Show All.” Go to the Playlist settings and check the box where it says “Play and pause.”
Additional Reading: