Search…

X3 Photo Gallery Support Forums

Search…
 
cedkey
Topic Author
Posts: 9
Joined: 06 Apr 2020, 13:10

video display order

29 Jul 2026, 10:04

Is it possible to insert a video just like a photo—placing it in a specific spot within the sequence—rather than having it appear at the very top or bottom of the gallery?
I managed to reduce the video size using CSS:
.x3-video-container {
 max-width: 600px; /* feel free to adjust this value */
 margin: auto;
}

Thanks.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14477
Joined: 30 Sep 2006, 03:37

Re: video display order

Yesterday, 04:12

cedkey wrote:Is it possible to insert a video just like a photo—placing it in a specific spot within the sequence—rather than having it appear at the very top or bottom of the gallery?
The problem is, videos don't have thumbnails. So if we place the embedded video within the photo sequence, it would be an embedded video mixed in with photo thumbnails. The photos would be clickable, while the video would only play within it's tiny limited thumbnail-size area. Surely this isn't a useful solution?

The reason we don't support video thumbnails, is because that would require external FFMPEG and exec(), normally something you would only be able to access if you run your own server.

Because of this, it's therefore better to entirely separate embedded videos with clickable photo thumbnails.
cedkey wrote: I managed to reduce the video size using CSS:
.x3-video-container {
 max-width: 600px; /* feel free to adjust this value */
 margin: auto;
}
Sure. Keep in mind, video width would already be limited the the "gallery" width. But if you want videos more narrow than the gallery container, then yes you could do what you have done above.
 
cedkey
Topic Author
Posts: 9
Joined: 06 Apr 2020, 13:10

Re: video display order

Today, 08:00

tanks !