I think the preferable solution is to use the Google Motion Photos implementation so only a single file is produced and viewable regardless of the client's support for motion photos.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A good reference for how Motion Photos can be implemented is here:
https://github.com/LycheeOrg/Lychee/issues/378#issuecomment-545428092
I think the preferable solution is to use the Google Motion Photos implementation so only a single file is produced and viewable regardless of the client's support for motion photos.