aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/lustiges-script.js20
1 files changed, 14 insertions, 6 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 33b84a6..5024e12 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -151,16 +151,24 @@ $(function() {
}
})(mejs.i18n.locale.strings);
- $('video').mediaelementplayer({
- enableAutosize: true,
-
- pluginPath: 'assets/js/lib/',
- features: ['playpause', 'volume', 'fullscreen', $('video').hasClass('subs') ? 'subs' : '']
+ $('body.room video').mediaelementplayer({
+ pluginPath: 'assets/mejs/',
+ features: ['playpause', 'volume', 'fullscreen'],
+ enableAutosize: true
});
- $('audio').mediaelementplayer({
+ $('body.room audio').mediaelementplayer({
features: ['playpause', 'volume', 'current']
});
+ $('body.relive-player video').mediaelementplayer({
+ mode: 'auto_plugin',
+ enablePluginDebug: true,
+ plugins: ['flash'],
+ flashName: 'flashmediaelement.swf',
+ pluginPath: 'assets/mejs/',
+ enableAutosize: true,
+ });
+
$(window).on('load', function() {
$(window).trigger('resize');
});