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/10/19 01:24] (Version actuelle) – Wiki 4.17 : corrections apres audit des exemples et traductions cyrilfiesta
Ligne 15: Ligne 15:
 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> <code yaml>
-<<3:https://example.com/sounds/alarm.mp3>> +text: "<<Welcome to the adventure!>>" 
-<<0:https://example.com/sounds/music.mp3>> +</code> 
-<<stop>>+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. 
 + 
 +**Play N times** (0 means loop indefinitely): 
 + 
 +<code yaml> 
 +text: "<<3:https://example.com/sounds/alarm.mp3>>" 
 +</code> 
 + 
 +For continuous playback: 
 + 
 +<code yaml> 
 +text: "<<0:https://example.com/sounds/music.mp3>>" 
 +</code> 
 + 
 +**Stop all sounds**: 
 + 
 +<code yaml> 
 +text: "<<stop>>"
 </code> </code>
  
Ligne 80: Ligne 98:
   * ''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 114:
  
 <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