aboutsummaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorMaZderMind2016-12-22 20:25:18 +0100
committerMaZderMind2016-12-22 20:25:18 +0100
commitefdae0713ec5890aab5358747ffc304d97ab058b (patch)
treed3121ecda9cf76e386bafc5a4efb40621db715b2 /assets/js
parentb45a2c9de7fe4b282274c979baad2df5333fbcf9 (diff)
limit the mediaelement-js ui to the existing players
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/lustiges-script.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index 65fc6ef..63227a3 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -10,16 +10,16 @@ $(function() {
if($('.video-wrap').hasClass('has-subtitles'))
feat.push('subtitles');
- $('body.room video, body.embed video').mediaelementplayer({
+ $('body.room video.mejs, body.embed video.mejs').mediaelementplayer({
features: feat,
enableAutosize: true
});
- $('body.room audio, body.embed audio').mediaelementplayer({
+ $('body.room audio.mejs, body.embed audio.mejs').mediaelementplayer({
features: ['playpause', 'volume', 'current']
});
- $('body.relive-player video').mediaelementplayer({
+ $('body.relive-player video.mejs').mediaelementplayer({
mode: 'auto_plugin',
plugins: ['flash'],
flashName: 'flashmediaelement.swf',