Widget:Audio: Difference between revisions

From The Satanic Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
To insert this widget, use the following code:
To insert this widget, use the following code:


  <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
  <nowiki>{{#widget:Audio
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
}}</nowiki>
}}</nowiki>
Line 20: Line 20:


== Sample result ==
== Sample result ==
{{#widget:{{PAGENAME}}
{{#widget:Audio
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
}}
}}

Revision as of 23:15, 21 February 2023

Template:Widget This widget allows you to add HTML5 Audio Media to your wiki page. For video files see the Video page.

To insert this widget, use the following code:

{{#widget:Audio
|url=https://www.soundhelix.com/examples/mp3/SoundHelix-Song-8.mp3
}}

Parameters

  • url - URL of the audio file

Sample result

Template:Comments