Page 1 of 1

Two questions

Posted: 21 Aug 2023, 11:31
by RIIID
Hi,
two quick questions:
  1. How to go about changing the subdomain of an existing gallery?
    Is it enough to edit the config.user.json (besides the actual subdomain server side) ? I don't want to lose my settings / structure.
  2. I added an animation to an album (as mp4) - it is automatically placed on top. Can I control the video? (i.e. loop, autoplay)
Regards
Richard

Re: Two questions

Posted: 22 Aug 2023, 01:16
by mjau-mjau
RIIID wrote:How to go about changing the subdomain of an existing gallery?
Is it enough to edit the config.user.json (besides the actual subdomain server side) ? I don't want to lose my settings / structure.
If you are just changing sub-domain internally, you don't need to do anything at all. For best practice, I would make sure to click SAVE in the control panel after changing domains, just so cache gets refreshed with canonical links.
RIIID wrote:I added an animation to an album (as mp4) - it is automatically placed on top. Can I control the video? (i.e. loop, autoplay)
To do this, I would instead embed the <video> in your "content" section. From there, you can easily manage all <video> controls.
Code
<video controls loop autoplay>
  <source src="{{path}}animation.mp4" type="video/mp4">
</video>

Re: Two questions

Posted: 27 Aug 2023, 12:22
by RIIID
Thank you.