This commit is contained in:
Xes
2025-08-14 22:37:50 +02:00
parent fb6d5d5926
commit 3641e93527
9156 changed files with 1813532 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
$(document).ready(function() {
//get the path to mediaelement plugins
var scripts = document.getElementsByTagName('script');
var scriptPath = scripts[scripts.length-1].src;
var basePath = scriptPath.substring(0, scriptPath.indexOf('/main/')+1) + 'web/assets/mediaelement/build/';
$('video:not(.skip), audio:not(.skip)').mediaelementplayer({
pluginPath: basePath,
shimScriptAccess: 'always'
// more configuration
});
});