Skip to reading
3D Models & Video in GUIs

19. Give a failed clip a useful fallback

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 19. The left Video has a poster; the right has readable Load Failure Text. Neither has a usable stream assigned.

1. Select a Video element and choose a clear Poster Image.

2. Enter a short Load Failure Text message as well.

3. Test with no video assigned, then with a valid clip.

4. Keep a working Close or Back control available in both cases.

With no stream, the poster is shown if it can load. If there is no usable poster, the text message is shown instead. When a stream loads successfully, the poster is hidden even when Autoplay is off.

Use a separate Image element for a deliberate title card before playback. Hide that Image when your Play Button starts the movie. The Poster Image field alone does not provide that opening sequence.

Use a normal Label for dynamic or translated surrounding instructions. Do not assume the Video element’s Load Failure Text runs the same wildcard-expansion path as a normal gameplay Label.

Page 28 of 45Permalink
Go to page