Wiktionary:Landsbybrønden/Deploying the Phonos in-line audio player to your Wiki
Deploying the Phonos in-line audio player to your Wiki
redigérHej!
Apologies if this message is not in your language, ⧼Please help translate⧽ to your language.
This wiki will soon be able to use the inline audio player implemented by the Phonos extension. This is part of fulfilling a wishlist proposal of providing audio links that play on click.
With the inline audio player, you can add text-to-speech audio snippets to wiki pages by simply using a tag:
<phonos file="audio file" label="Listen"/>
The above tag will show the text next to a speaker icon, and clicking on it will play the audio instantly without taking you to another page. A common example where you can use this feature is in adding pronunciation to words as illustrated on the English Wiktionary below.
{{audio|en|En-uk-English.oga|Audio (UK)}}
Could become:
<phonos file="En-uk-English.oga" label="Audio (UK)"/>
The inline audio player will be available in your wiki in 2 weeks time; in the meantime, we would like you to read about the features and give us feedback or ask questions about it in this talk page.
Thank you!UOzurumba (WMF), on behalf of the Foundation's Language team
27. jul. 2023, 02:26 (UTC)