Widget:Audio: Difference between revisions

From Ekatra Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
<style>
<style>
.mejs__overlay-button {
.mejs__overlay-button {
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg");
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;
}
}
.mejs__overlay-loading-bg-img {
.mejs__overlay-loading-bg-img {
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg");
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;;
}
}
.mejs__button > button {
.mejs__button > button {
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg");
background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;;
}
}
</style>
</style>

Revision as of 03:32, 2 August 2023

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://wiki.ekatrafoundation.org/images/4/4d/Sample2.mp3
}}

Parameters

  • url - URL of the audio file

Sample result