Search…

X3 Photo Gallery Support Forums

Search…
 
RIIID
Topic Author
Posts: 11
Joined: 08 Jun 2023, 12:23

Two questions

21 Aug 2023, 11:31

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Two questions

22 Aug 2023, 01:16

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>
 
RIIID
Topic Author
Posts: 11
Joined: 08 Jun 2023, 12:23

Re: Two questions

27 Aug 2023, 12:22

Thank you.