diff options
author | MaZderMind | 2016-12-22 20:25:18 +0100 |
---|---|---|
committer | MaZderMind | 2016-12-22 20:25:18 +0100 |
commit | efdae0713ec5890aab5358747ffc304d97ab058b (patch) | |
tree | d3121ecda9cf76e386bafc5a4efb40621db715b2 /assets/js | |
parent | b45a2c9de7fe4b282274c979baad2df5333fbcf9 (diff) |
limit the mediaelement-js ui to the existing players
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/lustiges-script.js | 6 |
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', |