|
|
(5 intermediate revisions by the same user not shown) |
Line 15: |
Line 15: |
| |url=https://wiki.ekatrafoundation.org/images/4/4d/Sample2.mp3 | | |url=https://wiki.ekatrafoundation.org/images/4/4d/Sample2.mp3 |
| }} | | }} |
| </noinclude><includeonly><audio class="mejs__player" src="<!--{$url|validate:url}-->" | | </noinclude><includeonly><div class="wikiaudioplayer"><audio src="<!--{$url|validate:url}-->" |
| controls preload></audio><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mediaelement/6.0.3/mediaelementplayer.min.css" /> | | controls preload></audio></div> |
| <style>
| |
| .mejs__overlay-button {
| |
| background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;
| |
| }
| |
| .mejs__overlay-loading-bg-img {
| |
| background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;;
| |
| }
| |
| .mejs__button > button {
| |
| background-image: url("https://wiki.ekatrafoundation.org/mejs-controls.svg") !important;;
| |
| }
| |
| </style>
| |
| <script src="https://wiki.ekatrafoundation.org/index.php?title=MediaWiki:Mediaelement-and-player.min.js&action=raw&ctype=text/javascript"></script><script>
| |
| var player = new MediaElementPlayer( document.querySelector('.mejs__player'), {
| |
| success: function(mediaElement, originalNode, instance) {
| |
| }
| |
| });
| |
| </script> | |
| </includeonly> | | </includeonly> |