Revision history of "MediaWiki:Gadget-audioplayer-core.js"

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

  • curprev 08:25, 16 February 2022Soulgazer talk contribs 4,421 bytes +4,421 Created page with "$(function() { →‎* Replace audio track links with the audio file when clicked *: function playTrack(e, playlist) { if ($(this).attr('target') == '_blank') { // do not play another track if the link opens in a new tab. return; } e.preventDefault(); var filename = $(e.target).closest('a').attr('href').match(/File:(.*\.ogg)/)[1]; var $audio = $('<audio>').attr({ src: '/w/Special:Redirect?wptype=file&wpvalue=' + filename, autoplay: playlist !== true,..."