Add an audio player to a wiki page: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
If you want you can also add a style to make the audio player full width: | If you want you can also add a style to make the audio player full width: | ||
<nowiki>{{audio|mp3=PASTE_YOUR_URL_HERE|style= | <nowiki>{{audio|mp3=PASTE_YOUR_URL_HERE|style=width:100%}}</nowiki> | ||
[[Category:Protocol]] | [[Category:Protocol]] |
Latest revision as of 15:19, 18 September 2023
If you have uploaded a sound file into the wiki and would like to add an audio player:
- Get the direct URL to the audio file, click on the file in the wiki until you see only an audio player in the browser. Go to URL bar in your browser and COPY THIS URL.
- In your wiki page put:
{{audio|mp3=PASTE_YOUR_URL_HERE}}
If you want you can also add a style to make the audio player full width:
{{audio|mp3=PASTE_YOUR_URL_HERE|style=width:100%}}