solmea wrote:I am trying to use X3 for a video gallery. And technically it works.. But the video previews are not always working and I keep seeing black images as video.
X3 doesn't load any "preview" or anything. The video is just embedded, and then it's up to the browser to preview meta data, which are normally the first frames of the video. If the video is black, then likely the first frame of you video is black. This also depends on browsers, where some browsers (desktop) may preload more frames before the video is playing, while others (mobile) might not preload any frames at all, or maybe just the first frame (often black). X3 cannot control this. Your only option would be to manually add the videos to the content section, in which case you can use the
poster="..." attribute to set the preview image for the embedded video.
solmea wrote:So is there a way to show filenames or even titles which can be added in the gallery if you go into Edit mode.
If you go to
page Settings > Gallery > scroll down to
Captions, you can assign TITLE, DESCRIPTION and DATE, just like for gallery images. If you want custom control of video captions, your option would be to embed them manually into page content, and then write formatted text above or below each video.
To add videos manually, you should first click to HIDE the video(s) uploaded into your page gallery (so they won't appear automatically in the page's gallery). Then, you can embed them into the page > Content section, by using the html code from the templates dropdown. For example:
<video width="100%" preload="metadata" controls controlsList="nodownload" poster="{{path}}poster-for-video.jpg">
<source src="{{path}}videofilename.mp4" type="video/mp4">
</video>