Outils pour utilisateurs

Outils du site


en:yaml:medias

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
en:yaml:medias [2026/08/30 21:20] – maj 4.14 : dialogues, videos hebergees, mise en page, doc EN completee cyrilfiestaen:yaml:medias [2026/09/06 19:04] (Version actuelle) – 4.14 : le texte TTS est lu sans affichage hors Discord cyrilfiesta
Ligne 14: Ligne 14:
  
 Supported formats for linting and exports: ''.mp3'', ''.ogg'', ''.wav'', ''.flac'', ''.m4a''. Supported formats for linting and exports: ''.mp3'', ''.ogg'', ''.wav'', ''.flac'', ''.m4a''.
 +
 +Without an audio extension, the content of ''%%<<…>>%%'' is read aloud without being displayed:
 +<code yaml>
 +text: "<<Welcome to the adventure!>>"
 +</code>
 +Discord uses native TTS messages, which remain visible; Web, Desktop and standalone exports use the device's speech synthesis without displaying the content. The Terminal has no speech synthesis and ignores it. To display the text too, write it normally in addition to the tag.
  
 <code yaml> <code yaml>
Ligne 80: Ligne 86:
   * ''poster='' has no effect on a hosted video: the service shows its own thumbnail. It still works for a file.   * ''poster='' has no effect on a hosted video: the service shows its own thumbnail. It still works for a file.
  
-**Other platforms.** Discord and the Terminal display the link, the Terminal also naming the platform. In an HTML5 export the video stays online: it is not embedded in the archive, and the report does not list it as missing. The export must therefore be served over HTTP or HTTPS, since hosted players do not work from a local ''file://'' page.+**Other platforms.** Discord and the Terminal display the link, the Terminal also naming the platform. In an HTML5 export the video stays online: it is not embedded in the archive, and the report does not list it as missing. The export must therefore be served over HTTP or HTTPS, since hosted players do not work from a local ''%%file://%%'' page.
  
 ===== Variables in URLs ===== ===== Variables in URLs =====
Ligne 96: Ligne 102:
  
 <code yaml> <code yaml>
-objets: +objects: 
-  - nom: map +  - name: map 
-    endroit: table+    location: table
     description: "A map of the kingdom.     description: "A map of the kingdom.
 [[https://example.com/images/map.png]]" [[https://example.com/images/map.png]]"
-    msg_ramassage: "You take the map."+    pickup_text: "You take the map."
  
-  - nom: musical_key +  - name: musical_key 
-    endroit: chest+    location: chest
     description: "A key that rings. <<https://example.com/sounds/key.mp3>>"     description: "A key that rings. <<https://example.com/sounds/key.mp3>>"
-    msg_ramassage: "You take the key."+    pickup_text: "You take the key."
 </code> </code>
  
 When the description is only an image URL ''%%[[url]]%%'', ''inspect <object>'' shows the picture directly. When the description is only an image URL ''%%[[url]]%%'', ''inspect <object>'' shows the picture directly.
- 
-**Find us on the [[https://discord.gg/Z63DtVV|Make&Play Discord]]** 
  
en/yaml/medias.1788117655.txt.gz · Dernière modification : de cyrilfiesta