MediaWiki:Common.js/embedding.js

// ============================================================ // Experimental EMBEDDING hack for multimedia files // // Used in: Template:Listen // Function: Embeds a file based if the DIV class is "embedMe" //          The "src" is located in the DIV id. // ============================================================

$(function {	$('div.embedMe').each(function { var filename = $(this).attr('id');

if (filename) { filename = filename.replace(/\.2F/gi, '/');

$(this).html(''); }	}); });